Skip to content

Commit afd03f8

Browse files
authored
Merge pull request #75 from talsec/rc/18.3.0
Release 18.3.0
2 parents f3760ef + 4d378e6 commit afd03f8

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

FreeRASPDemoApp/app/src/main/java/com/aheaditec/talsec/demoapp/TalsecApplication.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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) {}

FreeRASPDemoApp/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ core-ktx = "1.17.0"
55
appcompat = "1.7.1"
66
material = "1.13.0"
77
constraintlayout = "2.2.1"
8-
talsec-freerasp = "18.0.4"
8+
talsec-freerasp = "18.3.0"
99

1010
[libraries]
1111
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }

FreeRASPDemoApp/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)