From 2ade0d45ceb932c7a9f29ff847610647f5fbd12a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20=C5=A0iky=C5=88a?= <118438675+msikyna@users.noreply.github.com> Date: Wed, 20 Nov 2024 11:39:57 +0100 Subject: [PATCH] New SDK (#47) --- FreeRASPDemoApp/app/build.gradle | 2 +- .../java/com/aheaditec/talsec/demoapp/TalsecApplication.kt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/FreeRASPDemoApp/app/build.gradle b/FreeRASPDemoApp/app/build.gradle index 2542ca5..f8c7200 100644 --- a/FreeRASPDemoApp/app/build.gradle +++ b/FreeRASPDemoApp/app/build.gradle @@ -34,7 +34,7 @@ android { dependencies { // freeRASP SDK - implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community:12.0.0' + implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community:13.0.0' implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation 'androidx.core:core-ktx:1.12.0' diff --git a/FreeRASPDemoApp/app/src/main/java/com/aheaditec/talsec/demoapp/TalsecApplication.kt b/FreeRASPDemoApp/app/src/main/java/com/aheaditec/talsec/demoapp/TalsecApplication.kt index e5db0a6..b2449af 100644 --- a/FreeRASPDemoApp/app/src/main/java/com/aheaditec/talsec/demoapp/TalsecApplication.kt +++ b/FreeRASPDemoApp/app/src/main/java/com/aheaditec/talsec/demoapp/TalsecApplication.kt @@ -93,6 +93,10 @@ class TalsecApplication : Application(), ThreatListener.ThreatDetected { println("onDeveloperModeDetected") } + override fun onADBEnabledDetected() { + println("onADBEnabledDetected") + } + override fun onSystemVPNDetected() { println("onSystemVPNDetected") }