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.
@@ -87,5 +87,5 @@ project.afterEvaluate {
87
87
  dependencies {
88
88
  implementation("com.facebook.react:react-native:+")
89
89
  implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.24")
90
- implementation("com.cprot:ead:1.0.8056")
90
+ implementation("com.cprot:ead:1.0.8127")
91
91
  }
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.cprot.ead",
3
- "version": "1.0.8056",
3
+ "version": "1.0.8128",
4
4
  "description": "c-prot ead android module",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "lib/commonjs/index.js",