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