This commit is contained in:
范大德 2023-10-24 21:06:07 +08:00
parent 6991efaa85
commit 468e66f901

View File

@ -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) {