File tree Expand file tree Collapse file tree
app/src/main/java/com/aheaditec/talsec/demoapp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class TalsecApplication : Application() {
6161 // Set your reaction
6262 println (" onMalwareDetected" )
6363 suspiciousApps.forEach {
64- println (" Suspicious app: ${it.packageInfo.packageName} , reason : ${it.reason } " )
64+ println (" Suspicious app: ${it.packageInfo.packageName} , reasons : ${it.reasons } " )
6565 }
6666 }
6767
@@ -161,11 +161,11 @@ class TalsecApplication : Application() {
161161 override fun onActivityStarted (activity : Activity ) {}
162162
163163 override fun onActivityResumed (activity : Activity ) {
164- ScreenProtector .INSTANCE . registerScreenCallbacks(activity)
164+ ScreenProtector .registerScreenCallbacks(activity)
165165 }
166166
167167 override fun onActivityPaused (activity : Activity ) {
168- ScreenProtector .INSTANCE . unregisterScreenCallbacks(activity)
168+ ScreenProtector .unregisterScreenCallbacks(activity)
169169 }
170170
171171 override fun onActivityStopped (activity : Activity ) {}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ core-ktx = "1.17.0"
55appcompat = " 1.7.1"
66material = " 1.13.0"
77constraintlayout = " 2.2.1"
8- talsec-freerasp = " 18.0.4 "
8+ talsec-freerasp = " 18.3.0 "
99
1010[libraries ]
1111kotlin-stdlib = { module = " org.jetbrains.kotlin:kotlin-stdlib" , version.ref = " kotlin" }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ dependencyResolutionManagement {
1212 google()
1313 mavenCentral()
1414 maven { url " https://europe-west3-maven.pkg.dev/talsec-artifact-repository/freerasp" }
15- maven { url ' https://jitpack.io ' }
15+ maven { url ' https://europe-west3-maven.pkg.dev/talsec-artifact-repository/common ' }
1616 }
1717}
1818
You can’t perform that action at this time.
0 commit comments