Page MenuHomePhabricator

D11660.id39099.diff
No OneTemporary

D11660.id39099.diff

diff --git a/native/android/app/src/main/java/app/comm/android/fbjni/CommMMKV.java b/native/android/app/src/main/java/app/comm/android/fbjni/CommMMKV.java
--- a/native/android/app/src/main/java/app/comm/android/fbjni/CommMMKV.java
+++ b/native/android/app/src/main/java/app/comm/android/fbjni/CommMMKV.java
@@ -54,10 +54,13 @@
return;
}
- String encryptionKey =
- CommSecureStore.get(SECURE_STORE_MMKV_ENCRYPTION_KEY_ID);
- String identifier =
- CommSecureStore.get(SECURE_STORE_MMKV_IDENTIFIER_KEY_ID);
+ String encryptionKey = null, identifier = null;
+ try {
+ encryptionKey =
+ CommSecureStore.get(SECURE_STORE_MMKV_ENCRYPTION_KEY_ID);
+ identifier = CommSecureStore.get(SECURE_STORE_MMKV_IDENTIFIER_KEY_ID);
+ } catch (Exception e) {
+ }
if (encryptionKey == null || identifier == null) {
assignInitializationData();

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 8, 9:47 AM (1 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2816020
Default Alt Text
D11660.id39099.diff (932 B)

Event Timeline