Skip to content

Commit 691d23e

Browse files
authored
release: freeRASP 4.5.2 (#147)
* feat: enhance listener logic * change visibility * Update iOS SDK to 6.14.4
1 parent 59f5d2a commit 691d23e

File tree

32 files changed

+940
-560
lines changed

32 files changed

+940
-560
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.5.2] - 2026-03-24
9+
10+
- Android SDK version: 18.0.4
11+
- iOS SDK version: 6.14.4
12+
13+
### React Native
14+
15+
#### Changed
16+
17+
- Enhanced event dispatchers logic
18+
19+
### iOS
20+
21+
#### Fixed
22+
23+
- Fixed new jailbreak checks false positives on iOS 14 and 13.
24+
- Fixed false positives with jailbreak on iOS 15 and 16.
25+
- Fixed issue with app crashing on screenshot/screen recording.
26+
- Fixed retrigger jailbreak issue on iOS 15 and 16.
27+
828
## [4.5.1] - 2026-03-16
929

1030
- Android SDK version: 18.0.4

android/src/main/java/com/freeraspreactnative/FreeraspReactNativeModule.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ class FreeraspReactNativeModule(private val reactContext: ReactApplicationContex
7171
override fun initialize() {
7272
reactContext.addLifecycleEventListener(lifecycleListener)
7373
initializeEventKeys()
74-
PluginThreatHandler.initializePluginListener(PluginListener(reactContext))
7574
super.initialize()
7675
}
7776

android/src/main/java/com/freeraspreactnative/PluginThreatHandler.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ import com.freeraspreactnative.events.ThreatEvent
1010

1111
internal object PluginThreatHandler {
1212

13-
fun initializePluginListener(listener: FreeraspReactNativeModule.PluginListener) {
14-
ThreatDispatcher.listener = listener
15-
ExecutionStateDispatcher.listener = listener
16-
}
17-
1813
private val threatDetected = object : ThreatListener.ThreatDetected() {
1914

2015
override fun onRootDetected() {

android/src/main/java/com/freeraspreactnative/dispatchers/ExecutionStateDispatcher.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import com.freeraspreactnative.events.RaspExecutionStateEvent
44
import com.freeraspreactnative.interfaces.PluginExecutionStateListener
55

66
internal object ExecutionStateDispatcher {
7-
lateinit var listener: PluginExecutionStateListener
7+
private lateinit var listener: PluginExecutionStateListener
88
private val cache = mutableSetOf<RaspExecutionStateEvent>()
99

1010
private var isAppInForeground = false

android/src/main/java/com/freeraspreactnative/dispatchers/ThreatDispatcher.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import com.freeraspreactnative.events.ThreatEvent
55
import com.freeraspreactnative.interfaces.PluginThreatListener
66

77
internal object ThreatDispatcher {
8-
lateinit var listener: PluginThreatListener
8+
private lateinit var listener: PluginThreatListener
99
private val threatCache = mutableSetOf<ThreatEvent>()
1010
private val malwareCache = mutableSetOf<SuspiciousAppInfo>()
1111

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)