* Remove withEncryption * Remove warm up * Downgrade react-native-keychain Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
This commit is contained in:
parent
b5ee7c8908
commit
f6bedbb7d6
4 changed files with 3186 additions and 7026 deletions
|
|
@ -36,12 +36,7 @@ public class MattermostCredentialsHelper {
|
|||
|
||||
HashMap<String, String> asyncStorageResults = asyncStorage.multiGet(asyncStorageKeys);
|
||||
String serverUrl = asyncStorageResults.get(CURRENT_SERVER_URL);
|
||||
final WritableMap options = Arguments.createMap();
|
||||
final WritableMap authPrompt = Arguments.createMap();
|
||||
authPrompt.putString("title", "Authenticate to retrieve secret");
|
||||
authPrompt.putString("cancel", "Cancel");
|
||||
options.putMap("authenticationPrompt", authPrompt);
|
||||
|
||||
keychainModule.getInternetCredentialsForServer(serverUrl, options, promise);
|
||||
keychainModule.getGenericPasswordForOptions(serverUrl, promise);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ export default async function getStorage(identifier = 'default') {
|
|||
const MMKV = await new MMKVStorage.Loader().
|
||||
withInstanceID(identifier).
|
||||
setProcessingMode(MMKVStorage.MODES.MULTI_PROCESS).
|
||||
withEncryption().
|
||||
initialize();
|
||||
|
||||
return {
|
||||
|
|
|
|||
10202
package-lock.json
generated
10202
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -52,7 +52,7 @@
|
|||
"react-native-image-picker": "2.3.1",
|
||||
"react-native-keyboard-aware-scroll-view": "0.9.1",
|
||||
"react-native-keyboard-tracking-view": "5.7.0",
|
||||
"react-native-keychain": "6.0.0",
|
||||
"react-native-keychain": "4.0.5",
|
||||
"react-native-linear-gradient": "2.5.6",
|
||||
"react-native-local-auth": "1.6.0",
|
||||
"react-native-localize": "1.4.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue