diff --git a/native/android/app/src/main/java/app/comm/android/fbjni/CommSecureStore.java b/native/android/app/src/main/java/app/comm/android/fbjni/CommSecureStore.java --- a/native/android/app/src/main/java/app/comm/android/fbjni/CommSecureStore.java +++ b/native/android/app/src/main/java/app/comm/android/fbjni/CommSecureStore.java @@ -20,7 +20,13 @@ } public void initialize(SecureStoreModule secureStoreModule) { - this.secureStoreModule = secureStoreModule; + if (this.secureStoreModule == null) { + synchronized (this) { + if (this.secureStoreModule == null) { + this.secureStoreModule = secureStoreModule; + } + } + } } private void checkModule() {