Add requiresMainQueueSetup YES

This commit is contained in:
rh389 2017-10-24 14:08:47 +01:00
parent 2df308ae64
commit 9aae83d596
1 changed files with 4 additions and 0 deletions

View File

@ -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;