freerasp-react-native 4.3.0 → 4.3.2

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,6 +5,28 @@ 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.3.2] - 2025-01-03
9
+
10
+ - Android SDK version: 17.0.1
11
+ - iOS SDK version: 6.13.0
12
+
13
+ ### React Native
14
+
15
+ #### Fixed
16
+
17
+ - Resolved potential NullPointerException when execution state events are being sent
18
+
19
+ ## [4.3.1] - 2025-12-16
20
+
21
+ - Android SDK version: 17.0.1
22
+ - iOS SDK version: 6.13.0
23
+
24
+ ### React Native
25
+
26
+ #### Fixed
27
+
28
+ - Resolved duplicate classes error on iOS [(issue #128)](https://github.com/talsec/Free-RASP-ReactNative/issues/128)
29
+
8
30
  ## [4.3.0] - 2025-10-31
9
31
 
10
32
  - Android SDK version: 17.0.1
@@ -59,6 +59,7 @@ class FreeraspReactNativeModule(private val reactContext: ReactApplicationContex
59
59
  init {
60
60
  appReactContext = reactContext
61
61
  reactContext.addLifecycleEventListener(lifecycleListener)
62
+ initializeEventKeys()
62
63
  }
63
64
 
64
65
  @ReactMethod
@@ -89,6 +90,12 @@ class FreeraspReactNativeModule(private val reactContext: ReactApplicationContex
89
90
  }
90
91
  }
91
92
 
93
+ // Trigger lazy initialization of the freeRASP events
94
+ private fun initializeEventKeys() {
95
+ ThreatEvent.ALL_EVENTS
96
+ RaspExecutionStateEvent.ALL_EVENTS
97
+ }
98
+
92
99
  /**
93
100
  * Method to get the random identifiers of callbacks
94
101
  */
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
14
14
  s.platforms = { :ios => "11.0" }
15
15
  s.source = { :git => "https://github.com/talsec/freerasp-react-native.git", :tag => "#{s.version}" }
16
16
 
17
- s.source_files = 'ios/**/*.{h,m,mm,swift}', 'ios/TalsecRuntime.xcframework'
17
+ s.source_files = 'ios/models/*.{h,m,mm,swift}', 'ios/utils/*.{h,m,mm,swift}', 'ios/*.{h,m,mm,swift}', 'ios/TalsecRuntime.xcframework'
18
18
  s.xcconfig = { 'OTHER_LDFLAGS' => '-framework TalsecRuntime' }
19
19
  s.ios.vendored_frameworks = "ios/TalsecRuntime.xcframework"
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freerasp-react-native",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
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",
@@ -41,7 +41,7 @@
41
41
  "bugs": {
42
42
  "url": "https://github.com/talsec/Free-RASP-ReactNative/issues"
43
43
  },
44
- "homepage": "https://github.com/talsec/Free-RASP-ReactNative#readme",
44
+ "homepage": "https://docs.talsec.app/freerasp",
45
45
  "publishConfig": {
46
46
  "registry": "https://registry.npmjs.org/"
47
47
  },
@@ -1,3 +1,4 @@
1
+ import { type ConfigPlugin } from '@expo/config-plugins';
1
2
  import { type PluginConfigType } from './pluginConfig';
2
3
  declare const _default: ConfigPlugin<PluginConfigType>;
3
4
  export default _default;
@@ -1,20 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleDevelopmentRegion</key>
6
- <string>English</string>
7
- <key>CFBundleIdentifier</key>
8
- <string>com.apple.xcode.dsym.com.aheaditec.TalsecRuntime</string>
9
- <key>CFBundleInfoDictionaryVersion</key>
10
- <string>6.0</string>
11
- <key>CFBundlePackageType</key>
12
- <string>dSYM</string>
13
- <key>CFBundleSignature</key>
14
- <string>????</string>
15
- <key>CFBundleShortVersionString</key>
16
- <string>6.13.0</string>
17
- <key>CFBundleVersion</key>
18
- <string>1</string>
19
- </dict>
20
- </plist>