freerasp-react-native 3.14.0 → 4.0.0

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/android/build.gradle +16 -7
  3. package/android/gradle.properties +1 -1
  4. package/example/yarn.lock +1361 -8
  5. package/ios/TalsecRuntime.xcframework/Info.plist +5 -5
  6. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory +0 -0
  7. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  8. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources +60 -60
  9. package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature +0 -0
  10. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  11. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +1 -1
  12. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +7 -7
  13. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +4 -4
  14. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +1 -1
  15. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +1 -1
  16. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
  17. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +141 -141
  18. package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
  19. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
  20. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +2 -2
  21. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +7 -7
  22. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +4 -4
  23. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +1 -1
  24. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +1 -1
  25. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
  26. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +141 -141
  27. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +141 -141
  28. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
  29. package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +21 -21
  30. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,50 @@ 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.0.0] - 2024-03-25
9
+
10
+ - iOS SDK version: 6.9.0
11
+ - Android SDK version: 15.0.0
12
+
13
+ ### React Native
14
+
15
+ #### Changed
16
+
17
+ - Android SDK requires `kotlinVersion` >= `2.0.0`
18
+ - Set Java verison to 17
19
+
20
+ ### Android
21
+
22
+ #### Changed
23
+
24
+ - Compile API increased to 35, dependencies updated
25
+ - Internal library obfuscation reworked
26
+ - Root detection divided into 2 parts (quick initial checks, and time-demanding asynchronous post checks)
27
+
28
+ #### Fixed
29
+
30
+ - ANR issues bug-fixing
31
+ ### iOS
32
+
33
+ #### Added
34
+
35
+ - Improvement of the obfuscation of the SDK.
36
+
37
+ #### Changed
38
+
39
+ - Deep signing of the OpenSSL binaries.
40
+
41
+ ## [3.14.1] - 2024-03-10
42
+
43
+ - iOS SDK version: 6.8.0
44
+ - Android SDK version: 14.0.1
45
+
46
+ ### React Native
47
+
48
+ #### Fixed
49
+
50
+ - Take Android targetSdkVersion, compileSdkVersion from plugin only
51
+
8
52
  ## [3.14.0] - 2024-03-05
9
53
 
10
54
  - iOS SDK version: 6.8.0
@@ -1,6 +1,7 @@
1
1
  buildscript {
2
2
  // Buildscript is evaluated before everything else so we can't use getExtOrDefault
3
- def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : project.properties["FreeraspReactNative_kotlinVersion"]
3
+ def kotlin_version = project.properties["FreeraspReactNative_kotlinVersion"]
4
+
4
5
 
5
6
  repositories {
6
7
  google()
@@ -39,12 +40,16 @@ def getIntegerDefault(name) {
39
40
  return (project.properties["FreeraspReactNative_" + name]).toInteger()
40
41
  }
41
42
 
43
+ def getDefault(name) {
44
+ return project.properties["FreeraspReactNative_" + name]
45
+ }
46
+
42
47
  android {
43
- compileSdkVersion getExtOrIntegerDefault("compileSdkVersion")
48
+ compileSdkVersion getIntegerDefault("compileSdkVersion")
44
49
 
45
50
  defaultConfig {
46
51
  minSdkVersion getIntegerDefault("minSdkVersion")
47
- targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
52
+ targetSdkVersion getIntegerDefault("targetSdkVersion")
48
53
  buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
49
54
  }
50
55
  buildTypes {
@@ -59,8 +64,12 @@ android {
59
64
  }
60
65
 
61
66
  compileOptions {
62
- sourceCompatibility JavaVersion.VERSION_1_8
63
- targetCompatibility JavaVersion.VERSION_1_8
67
+ sourceCompatibility JavaVersion.VERSION_17
68
+ targetCompatibility JavaVersion.VERSION_17
69
+ }
70
+
71
+ kotlinOptions {
72
+ jvmTarget = "17"
64
73
  }
65
74
 
66
75
  if (project.android.hasProperty("namespace")) {
@@ -80,7 +89,7 @@ rootProject.allprojects {
80
89
  }
81
90
  }
82
91
 
83
- def kotlin_version = getExtOrDefault("kotlinVersion")
92
+ def kotlin_version = getDefault("kotlinVersion")
84
93
  def react_native_version = getExtOrDefault("reactNativeVersion")
85
94
 
86
95
  dependencies {
@@ -90,7 +99,7 @@ dependencies {
90
99
  implementation "com.facebook.react:react-native:$react_native_version"
91
100
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
92
101
  implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
93
- implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:14.0.1"
102
+ implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:15.0.0"
94
103
  }
95
104
 
96
105
  if (isNewArchitectureEnabled()) {
@@ -1,4 +1,4 @@
1
- FreeraspReactNative_kotlinVersion=1.7.0
1
+ FreeraspReactNative_kotlinVersion=2.1.0
2
2
  FreeraspReactNative_minSdkVersion=23
3
3
  FreeraspReactNative_targetSdkVersion=35
4
4
  FreeraspReactNative_compileSdkVersion=35