Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3694083
D11663.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11663.id.diff
View Options
diff --git a/native/android/app/src/main/java/app/comm/android/CommCoreJSIModulePackage.java b/native/android/app/src/main/java/app/comm/android/CommCoreJSIModulePackage.java
--- a/native/android/app/src/main/java/app/comm/android/CommCoreJSIModulePackage.java
+++ b/native/android/app/src/main/java/app/comm/android/CommCoreJSIModulePackage.java
@@ -5,17 +5,17 @@
import app.comm.android.fbjni.CommSecureStore;
import app.comm.android.fbjni.DatabaseInitializer;
import app.comm.android.fbjni.GlobalDBSingleton;
+import com.facebook.react.bridge.JSIModulePackage;
import com.facebook.react.bridge.JSIModuleSpec;
import com.facebook.react.bridge.JavaScriptContextHolder;
import com.facebook.react.bridge.ReactApplicationContext;
-import com.swmansion.reanimated.ReanimatedJSIModulePackage;
import expo.modules.securestore.SecureStoreModule;
import java.io.File;
import java.util.Collections;
import java.util.List;
import java.util.function.Supplier;
-public class CommCoreJSIModulePackage extends ReanimatedJSIModulePackage {
+public class CommCoreJSIModulePackage implements JSIModulePackage {
@Override
public List<JSIModuleSpec> getJSIModules(
@@ -25,7 +25,6 @@
ExpoUtils.createExpoSecureStoreSupplier(reactApplicationContext);
CommSecureStore.getInstance().initialize(secureStoreModuleSupplier);
CommHybrid.initHybrid(reactApplicationContext);
- super.getJSIModules(reactApplicationContext, jsContext);
File sqliteFile = reactApplicationContext.getDatabasePath("comm.sqlite");
GlobalDBSingleton.scheduleOrRun(() -> {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 8, 9:47 AM (1 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2816017
Default Alt Text
D11663.id.diff (1 KB)
Attached To
Mode
D11663: [native] Stop using ReanimatedJSIModulePackage on Android
Attached
Detach File
Event Timeline
Log In to Comment