freerasp-react-native 4.2.1 → 4.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,8 +5,37 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [4.2.3] - 2025-09-03
9
+
10
+ - iOS SDK version: 6.12.1
11
+ - Android SDK version: 16.0.4
12
+
13
+ ### Android
14
+
15
+ #### Fixed
16
+
17
+ - Root detection related bugs causing false positives
18
+
19
+ #### Changed
20
+
21
+ - Deprecated Nexus repository removed (GCP artifact registry is the main supported distribution repository)
22
+
23
+ ## [4.2.2] - 2025-08-21
24
+
25
+ - iOS SDK version: 6.12.1
26
+ - Android SDK version: 16.0.1
27
+
28
+ ### React Native
29
+
30
+ #### Changed
31
+
32
+ - Replaced deprecated `getCurrentActivity()` call on Android (compatibility with RN 0.81+)
33
+
8
34
  ## [4.2.1] - 2025-08-05
9
35
 
36
+ - iOS SDK version: 6.12.1
37
+ - Android SDK version: 16.0.1
38
+
10
39
  ### React Native
11
40
 
12
41
  #### Fixed
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  freeRASP for React Native is a mobile in-app protection and security monitoring plugin. It aims to cover the main aspects of RASP (Runtime App Self Protection) and application shielding.
10
10
 
11
- :loudspeaker: [The official documentation has been moved to a new location. You can now find it here](https://docs.talsec.app/docs-and-articles-portal). :loudspeaker:
11
+ :loudspeaker: [The official documentation has been moved to a new location. You can now find it here](https://docs.talsec.app/docs-and-articles-portal?utm_source=github). :loudspeaker:
12
12
 
13
13
  # Overview
14
14
 
@@ -28,7 +28,7 @@ Key features are the detection and prevention of
28
28
  - Untrusted installation method
29
29
  - App/Device (un)binding
30
30
 
31
- Additional freeRASP features include low latency, easy integration and a weekly [Security Report](https://docs.talsec.app/freerasp/security-report) containing detailed information about detected incidents and potential threats, summarizing the state of your app security.
31
+ Additional freeRASP features include low latency, easy integration and a weekly [Security Report](https://docs.talsec.app/freerasp/security-report?utm_source=github) containing detailed information about detected incidents and potential threats, summarizing the state of your app security.
32
32
 
33
33
  The commercial version provides a top-notch protection level, extra features, support and maintenance. One of the most valued commercial features is AppiCrypt® - App Integrity Cryptogram.
34
34
 
@@ -41,7 +41,7 @@ It allows easy to implement API protection and App Integrity verification on the
41
41
 
42
42
  It is a unified solution that works across all mobile platforms without dependency on external web services (i.e., without extra latency, an additional point of failure, and maintenance costs).
43
43
 
44
- Learn more about commercial features at [https://talsec.app](https://talsec.app).
44
+ Learn more about commercial features at [https://talsec.app](https://talsec.app?utm_source=github).
45
45
 
46
46
  Learn more about freemium freeRASP features at [GitHub main repository](https://github.com/talsec/Free-RASP-Community).
47
47
 
@@ -54,17 +54,17 @@ After the integration of freeRASP, make sure you visit the [freeMalwareDetection
54
54
 
55
55
  Visit the [GitBook page](https://docs.talsec.app/freerasp) for comprehensive and up-to-date guides, tutorials, and technical documentation specifically for freeRASP. It serves as your go-to resource, offering everything from basic instructions to advanced tips and tricks to help you get the most out of the project.
56
56
 
57
- :loudspeaker: [The official documentation has been moved to a new location. You can now find it here](https://docs.talsec.app/docs-and-articles-portal). :loudspeaker:
57
+ :loudspeaker: [The official documentation has been moved to a new location. You can now find it here](https://docs.talsec.app/docs-and-articles-portal?utm_source=github). :loudspeaker:
58
58
 
59
59
  ## :link: Integration Guide
60
60
 
61
- For integrating freeRASP on the React Native platform, be sure to follow all the steps in the [Integration Guide](https://docs.talsec.app/freerasp/integration). This guide provides detailed instructions to help you achieve a smooth and efficient integration.
61
+ For integrating freeRASP on the React Native platform, be sure to follow all the steps in the [Integration Guide](https://docs.talsec.app/freerasp/integration?utm_source=github). This guide provides detailed instructions to help you achieve a smooth and efficient integration.
62
62
 
63
63
  Be sure to bookmark it and stay informed! :books: :sparkles:.
64
64
 
65
65
  # :rocket: What's New and Changelog
66
66
 
67
- Stay informed and make the most of freeRASP by checking out [What's New and Changelog](https://docs.talsec.app/freerasp/whats-new-and-changelog)! Here, you’ll discover the latest features, enhancements, and bug fixes we’ve implemented to improve your experience across all platforms, including Android, iOS, Flutter, React Native, Capacitor, and Cordova.
67
+ Stay informed and make the most of freeRASP by checking out [What's New and Changelog](https://docs.talsec.app/freerasp/whats-new-and-changelog?utm_source=github)! Here, you’ll discover the latest features, enhancements, and bug fixes we’ve implemented to improve your experience across all platforms, including Android, iOS, Flutter, React Native, Capacitor, and Cordova.
68
68
 
69
69
  Don’t miss out on any updates and explore the changelog to see how we’re continually making freeRASP better for you!
70
70
 
@@ -76,5 +76,5 @@ You can check out the project board [here](https://github.com/orgs/talsec/projec
76
76
 
77
77
  # :page_facing_up: License
78
78
 
79
- This project is provided as freemium software, i.e. there is a [fair usage policy](https://docs.talsec.app/freerasp/features-and-pricing-plans#plans-comparison) that imposes some limitations on the free usage. The SDK software consists of open-source and binary parts, which is the property of Talsec. The open-source part is licensed under the MIT License - see the LICENSE file for details.
79
+ This project is provided as freemium software, i.e. there is a [fair usage policy](https://docs.talsec.app/freerasp/features-and-pricing-plans#plans-comparison?utm_source=github) that imposes some limitations on the free usage. The SDK software consists of open-source and binary parts, which is the property of Talsec. The open-source part is licensed under the MIT License - see the LICENSE file for details.
80
80
 
@@ -99,7 +99,7 @@ dependencies {
99
99
  implementation "com.facebook.react:react-native:$react_native_version"
100
100
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
101
101
  implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
102
- implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:16.0.2"
102
+ implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:16.0.4"
103
103
  }
104
104
 
105
105
  if (isNewArchitectureEnabled()) {
@@ -33,13 +33,13 @@ class FreeraspReactNativeModule(private val reactContext: ReactApplicationContex
33
33
  private val lifecycleListener = object : LifecycleEventListener {
34
34
  override fun onHostResume() {
35
35
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
36
- currentActivity?.let { ScreenProtector.register(it) }
36
+ reactContext.currentActivity?.let { ScreenProtector.register(it) }
37
37
  }
38
38
  }
39
39
 
40
40
  override fun onHostPause() {
41
41
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
42
- currentActivity?.let { ScreenProtector.unregister(it) }
42
+ reactContext.currentActivity?.let { ScreenProtector.unregister(it) }
43
43
  }
44
44
  }
45
45
 
@@ -71,7 +71,7 @@ class FreeraspReactNativeModule(private val reactContext: ReactApplicationContex
71
71
  mainHandler.post {
72
72
  talsecStarted = true
73
73
  // This code must be called only AFTER Talsec.start
74
- currentActivity?.let { activity ->
74
+ reactContext.currentActivity?.let { activity ->
75
75
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
76
76
  ScreenProtector.register(activity)
77
77
  }
@@ -154,7 +154,7 @@ class FreeraspReactNativeModule(private val reactContext: ReactApplicationContex
154
154
  */
155
155
  @ReactMethod
156
156
  fun blockScreenCapture(enable: Boolean, promise: Promise) {
157
- val activity = currentActivity ?: run {
157
+ val activity = reactContext.currentActivity ?: run {
158
158
  promise.reject(
159
159
  "NativePluginError", "Cannot block screen capture, activity is null."
160
160
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freerasp-react-native",
3
- "version": "4.2.1",
3
+ "version": "4.2.3",
4
4
  "description": "React Native plugin for improving app security and threat monitoring on Android and iOS mobile devices.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",