forked from github/cordova-plugin-cescit-integrity
This commit is contained in:
@@ -63,7 +63,7 @@ public class CescitIntegrity extends CordovaPlugin {
|
||||
// DebugDetection.check(activity.getPackageName());
|
||||
JSONObject response = new JSONObject();
|
||||
response.put("assets", AssetsIntegrity.check(context));
|
||||
response.put("res", ResIntegrity.check(context));
|
||||
// response.put("res", ResIntegrity.check(context));
|
||||
response.put("apk", ApkIntegrity.check(context));
|
||||
result = new PluginResult(PluginResult.Status.OK, response);
|
||||
} catch (Exception e) {
|
||||
@@ -83,7 +83,7 @@ public class CescitIntegrity extends CordovaPlugin {
|
||||
try {
|
||||
JSONObject response = new JSONObject();
|
||||
response.put("assets", AssetsIntegrity.getHashString(context));
|
||||
response.put("res", ResIntegrity.getHashString(context));
|
||||
// response.put("res", ResIntegrity.getHashString(context));
|
||||
response.put("apk", ApkIntegrity.getHashString(context));
|
||||
result = new PluginResult(PluginResult.Status.OK, response);
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user