From 3438595afaf9dfe6ca89598f4eb361348f0a79e9 Mon Sep 17 00:00:00 2001 From: emeraldsanto Date: Sat, 30 May 2020 21:38:08 -0400 Subject: [PATCH 1/2] Downgraded security package to fix crash in release --- android/build.gradle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index e321368..4c99052 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -53,8 +53,8 @@ android { defaultConfig { minSdkVersion safeExtGet('minSdkVersion', DEFAULT_MIN_SDK_VERSION) targetSdkVersion safeExtGet('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION) - versionCode 23 - versionName "2.3.0" + versionCode 31 + versionName "2.4.3" } lintOptions { abortOnError false @@ -79,7 +79,9 @@ repositories { dependencies { //noinspection GradleDynamicVersion implementation 'com.facebook.react:react-native:+' - implementation "androidx.security:security-crypto:1.0.0-rc02" + + // Updating to the stable 1.0.0 release introduces crashes in production + implementation "androidx.security:security-crypto:1.0.0-alpha02" } def configureReactNativePom(def pom) { From a99d921c82dd79c6946f010bd2d9d912f7af6cb6 Mon Sep 17 00:00:00 2001 From: emeraldsanto Date: Sat, 30 May 2020 21:39:57 -0400 Subject: [PATCH 2/2] bumped version for release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fff4347..9014dec 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-encrypted-storage", "title": "React Native Encrypted Storage", - "version": "2.4.2", + "version": "2.4.3", "description": "A React Native wrapper over SharedPreferences and Keychain to provide a secure alternative to Async Storage", "main": "./dist/index.js", "types": "./dist/index.d.ts",