From 4515a3fffb61b68efae8478272a56a7c65b00f24 Mon Sep 17 00:00:00 2001 From: Tomas Psota Date: Wed, 30 Jul 2025 09:11:11 +0200 Subject: [PATCH 1/2] chore: update proguard rules to avoid renaming conflicts --- android/proguard-rules.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/proguard-rules.pro b/android/proguard-rules.pro index f665ce5..858660d 100644 --- a/android/proguard-rules.pro +++ b/android/proguard-rules.pro @@ -8,3 +8,5 @@ -keep class com.freeraspreactnative.models.RNSuspiciousAppInfo$Companion -keep class com.freeraspreactnative.models.RNPackageInfo$Companion + +-repackageclasses 'ts' \ No newline at end of file From d8d82b05c2ab595dd45969a5b66ad9ef3876a68c Mon Sep 17 00:00:00 2001 From: Tomas Psota Date: Tue, 5 Aug 2025 15:04:02 +0200 Subject: [PATCH 2/2] feat: update Android SDK to 16.0.2 --- CHANGELOG.md | 18 ++++++++++++++++++ android/build.gradle | 2 +- package.json | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2152e44..fe1f287 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.2.1] - 2025-08-05 + +### React Native + +#### Fixed + +- Possible conflict with other packages during proguard code minification + +### Android + +#### Fixed + +- Issue with empty `SharedPreferences` files + +#### Changed + +- Decreased version of `Kotlin` to `2.0.0` + ## [4.2.0] - 2025-07-16 - iOS SDK version: 6.12.1 diff --git a/android/build.gradle b/android/build.gradle index f40a245..32701ec 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -99,7 +99,7 @@ dependencies { implementation "com.facebook.react:react-native:$react_native_version" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" - implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:16.0.1" + implementation "com.aheaditec.talsec.security:TalsecSecurity-Community-ReactNative:16.0.2" } if (isNewArchitectureEnabled()) { diff --git a/package.json b/package.json index 50726ef..c9a8cd0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "freerasp-react-native", - "version": "4.2.0", + "version": "4.2.1", "description": "React Native plugin for improving app security and threat monitoring on Android and iOS mobile devices.", "main": "lib/commonjs/index", "module": "lib/module/index",