Merge pull request #1431 from rh389/main-queue-setup

iOS: Add requiresMainQueueSetup (YES?)
This commit is contained in:
blagoev 2017-10-31 11:16:16 +02:00 committed by GitHub
commit 3755bbde1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;