com.cprot.ead 1.0.8056 → 1.0.8128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -329,6 +329,7 @@ class CProtEadModuleModule(reactContext: ReactApplicationContext) :
|
|
|
329
329
|
sb.append("\"isCallForwardActive\":").append(securityCheck.isCallForwardActive()).append(",")
|
|
330
330
|
sb.append("\"isUsbConnected\":").append(securityCheck.isUsbConnected()).append(",")
|
|
331
331
|
sb.append("\"isSuspiciousWifi\":").append(securityCheck.isPotentialEvilTwin()).append(",")
|
|
332
|
+
sb.append("\"isAppOnSandbox\":").append(securityCheck.isAppOnSandbox()).append(",")
|
|
332
333
|
sb.append("\"isKeyboardAppChanged\":").append(securityCheck.isKeyboardAppChanged())
|
|
333
334
|
sb.append("}")
|
|
334
335
|
|
|
@@ -442,7 +443,7 @@ class CProtEadModuleModule(reactContext: ReactApplicationContext) :
|
|
|
442
443
|
sendLogEvent("Threat detected: ${infectedApp.getThreatName()} - ${infectedApp.getName()}")
|
|
443
444
|
}
|
|
444
445
|
|
|
445
|
-
CoroutineScope(Dispatchers.Main).launch {
|
|
446
|
+
/*CoroutineScope(Dispatchers.Main).launch {
|
|
446
447
|
try {
|
|
447
448
|
val currentActivity = reactApplicationContext.currentActivity
|
|
448
449
|
if (currentActivity == null) {
|
|
@@ -462,7 +463,7 @@ class CProtEadModuleModule(reactContext: ReactApplicationContext) :
|
|
|
462
463
|
} catch (e: Exception) {
|
|
463
464
|
sendLogEvent("Error showing uninstall dialog: ${e.message}")
|
|
464
465
|
}
|
|
465
|
-
}
|
|
466
|
+
}*/
|
|
466
467
|
} else {
|
|
467
468
|
sendLogEvent("Threat detected: ${infectedApp.getName()} - ${infectedApp.getThreatName()}")
|
|
468
469
|
}
|
|
@@ -532,4 +533,8 @@ class CProtEadModuleModule(reactContext: ReactApplicationContext) :
|
|
|
532
533
|
sendLogEvent("Clone app detected: $item")
|
|
533
534
|
}
|
|
534
535
|
}
|
|
536
|
+
|
|
537
|
+
override fun onScanCompleted() {
|
|
538
|
+
sendLogEvent("Scan Completed")
|
|
539
|
+
}
|
|
535
540
|
}
|