Skip to content

Commit bdd46f7

Browse files
authored
New SDK (#34)
* SDK v9.6.0
1 parent 5078caa commit bdd46f7

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

FreeRASPDemoApp/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ android {
3434

3535
dependencies {
3636
// freeRASP SDK
37-
implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community:9.1.0'
37+
implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community:9.6.0'
3838

3939
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
4040
implementation 'androidx.core:core-ktx:1.12.0'

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ class TalsecApplication : Application(), ThreatListener.ThreatDetected {
8282
// Set your reaction
8383
println("onHardwareBackedKeystoreNotAvailableDetected")
8484
}
85+
86+
override fun onDeveloperModeDetected() {
87+
println("onDeveloperModeDetected")
88+
}
89+
90+
override fun onSystemVPNDetected() {
91+
println("onSystemVPNDetected")
92+
}
8593
}
8694

8795
companion object {

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Set dependencies in your :app module's `build.gradle`:
6767
6868
dependencies {
6969
// freeRASP SDK
70-
implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community:9.1.0'
70+
implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community:9.6.0'
7171
...
7272
```
7373

@@ -226,6 +226,16 @@ private val deviceStateListener = object : ThreatListener.DeviceState {
226226
// Set your reaction
227227
TODO("Not yet implemented")
228228
}
229+
230+
override fun onDeveloperModeDetected() {
231+
// Set your reaction
232+
TODO("Not yet implemented")
233+
}
234+
235+
override fun onSystemVPNDetected() {
236+
// Set your reaction
237+
TODO("Not yet implemented")
238+
}
229239
}
230240
```
231241
and modify initialization of ThreatListener:

0 commit comments

Comments
 (0)