chore: use rn-keychain fork to avoid using patch-package, which does not work well with yarn 3
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
"react-native-fs": "^2.19.0",
|
||||
"react-native-gesture-handler": "2.3.2",
|
||||
"react-native-image-picker": "^4.7.3",
|
||||
"react-native-keychain": "8.0.0",
|
||||
"react-native-keychain": "standardnotes/react-native-keychain#d277d360494cbd02be4accb4a360772a8e0e97b6",
|
||||
"react-native-mail": "standardnotes/react-native-mail#fd26119e67a2ffc5eaa95a9c17049743e39ce2d3",
|
||||
"react-native-privacy-snapshot": "standardnotes/react-native-privacy-snapshot#653e904c90fc6f2b578da59138f2bfe5d7f942fe",
|
||||
"react-native-reanimated": "^2.8.0",
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
Fixes Android on launch performance issue
|
||||
https://github.com/oblador/react-native-keychain/issues/314#issuecomment-736640077
|
||||
|
||||
diff --git a/android/src/main/java/com/oblador/keychain/KeychainModule.java b/android/src/main/java/com/oblador/keychain/KeychainModule.java
|
||||
index 6ca68cb..a600f38 100644
|
||||
--- a/android/src/main/java/com/oblador/keychain/KeychainModule.java
|
||||
+++ b/android/src/main/java/com/oblador/keychain/KeychainModule.java
|
||||
@@ -140,13 +140,7 @@ public class KeychainModule extends ReactContextBaseJavaModule {
|
||||
super(reactContext);
|
||||
prefsStorage = new PrefsStorage(reactContext);
|
||||
|
||||
- addCipherStorageToMap(new CipherStorageFacebookConceal(reactContext));
|
||||
addCipherStorageToMap(new CipherStorageKeystoreAesCbc());
|
||||
-
|
||||
- // we have a references to newer api that will fail load of app classes in old androids OS
|
||||
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||
- addCipherStorageToMap(new CipherStorageKeystoreRsaEcb());
|
||||
- }
|
||||
}
|
||||
|
||||
/** Allow initialization in chain. */
|
||||
Reference in New Issue
Block a user