Skip to content

Commit b5cb318

Browse files
authored
release: freeRASP 4.0.0 (#109)
* release: freeRASP 3.14.2 * feat: set kotlin version properly * bug fixes
1 parent 39b3b8d commit b5cb318

File tree

29 files changed

+589
-547
lines changed

29 files changed

+589
-547
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,39 @@ 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.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+
841
## [3.14.1] - 2024-03-10
942

1043
- iOS SDK version: 6.8.0

android/build.gradle

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
buildscript {
22
// 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+
45

56
repositories {
67
google()
@@ -39,6 +40,10 @@ def getIntegerDefault(name) {
3940
return (project.properties["FreeraspReactNative_" + name]).toInteger()
4041
}
4142

43+
def getDefault(name) {
44+
return project.properties["FreeraspReactNative_" + name]
45+
}
46+
4247
android {
4348
compileSdkVersion getIntegerDefault("compileSdkVersion")
4449

@@ -59,8 +64,12 @@ android {
5964
}
6065

6166
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"
6473
}
6574

6675
if (project.android.hasProperty("namespace")) {
@@ -80,7 +89,7 @@ rootProject.allprojects {
8089
}
8190
}
8291

83-
def kotlin_version = getExtOrDefault("kotlinVersion")
92+
def kotlin_version = getDefault("kotlinVersion")
8493
def react_native_version = getExtOrDefault("reactNativeVersion")
8594

8695
dependencies {
@@ -90,7 +99,7 @@ dependencies {
9099
implementation "com.facebook.react:react-native:$react_native_version"
91100
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
92101
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"
94103
}
95104

96105
if (isNewArchitectureEnabled()) {

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FreeraspReactNative_kotlinVersion=1.7.0
1+
FreeraspReactNative_kotlinVersion=2.1.0
22
FreeraspReactNative_minSdkVersion=23
33
FreeraspReactNative_targetSdkVersion=35
44
FreeraspReactNative_compileSdkVersion=35

ios/TalsecRuntime.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,32 @@
88
<key>BinaryPath</key>
99
<string>TalsecRuntime.framework/TalsecRuntime</string>
1010
<key>LibraryIdentifier</key>
11-
<string>ios-arm64</string>
11+
<string>ios-arm64_x86_64-simulator</string>
1212
<key>LibraryPath</key>
1313
<string>TalsecRuntime.framework</string>
1414
<key>SupportedArchitectures</key>
1515
<array>
1616
<string>arm64</string>
17+
<string>x86_64</string>
1718
</array>
1819
<key>SupportedPlatform</key>
1920
<string>ios</string>
21+
<key>SupportedPlatformVariant</key>
22+
<string>simulator</string>
2023
</dict>
2124
<dict>
2225
<key>BinaryPath</key>
2326
<string>TalsecRuntime.framework/TalsecRuntime</string>
2427
<key>LibraryIdentifier</key>
25-
<string>ios-arm64_x86_64-simulator</string>
28+
<string>ios-arm64</string>
2629
<key>LibraryPath</key>
2730
<string>TalsecRuntime.framework</string>
2831
<key>SupportedArchitectures</key>
2932
<array>
3033
<string>arm64</string>
31-
<string>x86_64</string>
3234
</array>
3335
<key>SupportedPlatform</key>
3436
<string>ios</string>
35-
<key>SupportedPlatformVariant</key>
36-
<string>simulator</string>
3737
</dict>
3838
</array>
3939
<key>CFBundlePackageType</key>
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)