Skip to content

Commit 87d2467

Browse files
authored
Merge pull request #71 from talsec/remove_stop
fix: update freeRASP Android lifecycle
2 parents c445740 + d5b5523 commit 87d2467

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# freeRASP 5.0.3
2+
Fixed issue that caused freeRASP to be killed prematurely on Android
3+
4+
## What's new in 5.0.3?
5+
- ✔️ Fixed issue when freeRASP throws [IllegalStateException: Talsec is not running](https://github.com/talsec/Free-RASP-Flutter/issues/70) on Android
6+
17
# freeRASP 5.0.2
28
Fixed issue causing app to freeze on iOS
39

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Add dependency to your `pubspec.yaml` file
7272

7373
```yaml
7474
dependencies:
75-
freerasp: 5.0.2
75+
freerasp: 5.0.3
7676
```
7777
7878
and run `pub get`

android/src/main/kotlin/com/aheaditec/freerasp/FreeraspPlugin.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ class FreeraspPlugin : FlutterPlugin, ActivityAware, LifecycleEventObserver {
5757
when (event) {
5858
Lifecycle.Event.ON_RESUME -> context?.let { TalsecThreatHandler.attachListener(it) }
5959
Lifecycle.Event.ON_PAUSE -> context?.let { TalsecThreatHandler.detachListener(it) }
60-
Lifecycle.Event.ON_DESTROY -> context?.let { TalsecThreatHandler.stop(it) }
6160
else -> {
6261
// Nothing to do
6362
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: freerasp
22
description: Flutter library for improving app security and threat monitoring on Android and iOS mobile devices. Learn more about provided features on the freeRASP's homepage first.
3-
version: 5.0.1
3+
version: 5.0.3
44
homepage: https://www.talsec.app/freerasp-in-app-protection-security-talsec
55
repository: https://github.com/talsec/Free-RASP-Flutter
66

0 commit comments

Comments
 (0)