Add requiresMainQueueSetup YES
This commit is contained in:
parent
2df308ae64
commit
9aae83d596
|
@ -95,6 +95,10 @@ extern "C" JSGlobalContextRef RealmReactGetJSGlobalContextForExecutor(id executo
|
||||||
|
|
||||||
RCT_EXPORT_MODULE(Realm)
|
RCT_EXPORT_MODULE(Realm)
|
||||||
|
|
||||||
|
+ (BOOL)requiresMainQueueSetup {
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
+ (void)initialize {
|
+ (void)initialize {
|
||||||
if (self != [RealmReact class]) {
|
if (self != [RealmReact class]) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue