This commit is contained in:
parent
6991efaa85
commit
468e66f901
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user