From 4d9c81369c475b6168dda76c5d27b399b9472453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Novotn=C3=BD?= <62177414+yardexx@users.noreply.github.com> Date: Fri, 4 Aug 2023 09:35:39 +0200 Subject: [PATCH] release: freeRASP 6.2.0 (#82) * fix: Add compatibility with AGP 8.0 * fix: Remove forgotten `onOverlay` callback * build: Raise freeRASP Android SDK version * chore(release): Prepare for release --- CHANGELOG.md | 18 +++++++++++++----- android/build.gradle | 7 +++++-- .../gradle/wrapper/gradle-wrapper.properties | 2 +- example/android/build.gradle | 2 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- lib/src/threat_callback.dart | 6 ------ pubspec.yaml | 2 +- 7 files changed, 22 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb829a7..1f38afd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,18 @@ +# freeRASP 6.2.0 +Minor fixes and added support for AGP 8.0 + +## What's new in 6.2.0? +- ⚡ Added support for AGP 8.0 +- ❗ Removed PolarSSL dependency on Android +- ❗ Removed forgotten `onOverlay` callback +- ✔️ Fixed issue with [denied USE_BIOMETRICS permission](https://github.com/talsec/Free-RASP-Android/issues/20) + # freeRASP 6.1.0 -### Android -- ⚡ Fixed issue with incorrect Keystore type detection on Android 11 and above (https://github.com/talsec/Free-RASP-Flutter/issues/77) -### iOS -- ⚡ Reduced timeout period for logging from 20 sec to 5 sec -- ⚡ Logging is now async in all calls +## What's new in 6.1.0? +- ⚡ Fixed issue with incorrect Keystore type detection on Android 11 and above (https://github.com/talsec/Free-RASP-Flutter/issues/77) +- ⚡ Reduced timeout period for logging from 20 sec to 5 sec on iOS +- ⚡ Logging is now async in all calls on iOS # freeRASP 6.0.0 We are constantly working on improving your freeRASP experience. This update contains a new check - obfuscation detection. Minimal supported Android SDK level was raised to 23. diff --git a/android/build.gradle b/android/build.gradle index 8c9bf22..e4df32d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:4.1.0' + classpath 'com.android.tools.build:gradle:7.4.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -27,6 +27,9 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { + if (project.android.hasProperty("namespace")) { + namespace("com.aheaditec.talsec") + } compileSdkVersion 33 compileOptions { @@ -52,5 +55,5 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" // Talsec SDK - implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:8.0.2' + implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:8.0.4' } diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 3c9d085..ceccc3a 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip diff --git a/example/android/build.gradle b/example/android/build.gradle index 1c8bb53..9d27344 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:4.1.0' + classpath 'com.android.tools.build:gradle:7.4.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties index bc6a58a..cfe88f6 100644 --- a/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/example/android/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip diff --git a/lib/src/threat_callback.dart b/lib/src/threat_callback.dart index a5a588c..38a074f 100644 --- a/lib/src/threat_callback.dart +++ b/lib/src/threat_callback.dart @@ -22,7 +22,6 @@ class ThreatCallback { ThreatCallback({ this.onHooks, this.onDebug, - this.onOverlay, this.onPasscode, this.onDeviceID, this.onSimulator, @@ -41,11 +40,6 @@ class ThreatCallback { /// This method is called when an unsafe environment (debugger) is detected. final VoidCallback? onDebug; - /// This method is called when overlay of application view is detected. - /// - /// Android only. - final VoidCallback? onOverlay; - /// This method is called when the device has not set any passcode. final VoidCallback? onPasscode; diff --git a/pubspec.yaml b/pubspec.yaml index 0950c8c..5acc815 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: freerasp description: Flutter library for improving app security and threat monitoring on Android and iOS mobile devices. Learn more about provided features on the freeRASP's homepage first. -version: 6.1.0 +version: 6.2.0 homepage: https://www.talsec.app/freerasp-in-app-protection-security-talsec repository: https://github.com/talsec/Free-RASP-Flutter