Skip to content

Commit ce237d4

Browse files
committed
feat(Android): update SDK to 12.0.0
1 parent c2701bb commit ce237d4

File tree

4 files changed

+23
-11
lines changed

4 files changed

+23
-11
lines changed

CHANGELOG.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ 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-
## [3.10.0] - 2024-10-24
8+
## [3.10.0] - 2024-11-15
99

10-
- Android SDK version: 11.1.3
11-
- iOS SDK version: 6.6.0
10+
- Android SDK version: 12.0.0
11+
- iOS SDK version: 6.6.3
1212

1313
### React Native
1414

@@ -20,7 +20,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020

2121
#### Added
2222

23-
- New feature: **malware detection** as a new callback for enhanced app security
23+
- New feature: **malware detection** as a new callback for enhanced app security
24+
25+
### iOS
26+
27+
#### Added
28+
29+
- Enhanced security with **[Serotonin Jailbreak](https://github.com/SerotoninApp/Serotonin) Detection** to identify compromised devices.
30+
31+
#### Changed
32+
33+
- Updated SDK code signing; it will now be signed with:
34+
- Team ID: PBDDS45LQS
35+
- Team Name: Lynx SFT s.r.o.
2436

2537
## [3.9.3] - 2024-10-28
2638
- Android SDK version: 11.1.3

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ dependencies {
9090
implementation "com.facebook.react:react-native:$react_native_version"
9191
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
9292
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
93-
implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:11.1.3"
93+
implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:12.0.0"
9494
}
9595

9696
if (isNewArchitectureEnabled()) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ class FreeraspReactNativeModule(private val reactContext: ReactApplicationContex
116116
if (androidConfig.hasKey("malwareConfig")) {
117117
val malwareConfig = androidConfig.getMapThrowing("malwareConfig")
118118
talsecBuilder.whitelistedInstallationSources(malwareConfig.getArraySafe("whitelistedInstallationSources"))
119-
talsecBuilder.blocklistedHashes(malwareConfig.getArraySafe("blocklistedHashes"))
120-
talsecBuilder.blocklistedPermissions(malwareConfig.getNestedArraySafe("blocklistedPermissions"))
121-
talsecBuilder.blocklistedPackageNames(malwareConfig.getArraySafe("blocklistedPackageNames"))
119+
talsecBuilder.blacklistedHashes(malwareConfig.getArraySafe("blacklistedHashes"))
120+
talsecBuilder.blacklistedPackageNames(malwareConfig.getArraySafe("blacklistedPackageNames"))
121+
talsecBuilder.suspiciousPermissions(malwareConfig.getNestedArraySafe("suspiciousPermissions"))
122122
}
123123

124124
return talsecBuilder.build()

src/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ export type TalsecIosConfig = {
1818
};
1919

2020
export type TalsecMalwareConfig = {
21-
blocklistedHashes?: string[];
22-
blocklistedPackageNames?: string[];
23-
blocklistedPermissions?: string[][];
21+
blacklistedHashes?: string[];
22+
blacklistedPackageNames?: string[];
23+
suspiciousPermissions?: string[][];
2424
whitelistedInstallationSources?: string[];
2525
};
2626

0 commit comments

Comments
 (0)