diff --git a/react-native/ios/RealmReact/RealmReact.mm b/react-native/ios/RealmReact/RealmReact.mm index 26da98e2..b39ebdd3 100644 --- a/react-native/ios/RealmReact/RealmReact.mm +++ b/react-native/ios/RealmReact/RealmReact.mm @@ -95,6 +95,10 @@ extern "C" JSGlobalContextRef RealmReactGetJSGlobalContextForExecutor(id executo RCT_EXPORT_MODULE(Realm) ++ (BOOL)requiresMainQueueSetup { + return YES; +} + + (void)initialize { if (self != [RealmReact class]) { return;