Add requiresMainQueueSetup method

Since RN 0.49, `requiresMainQueueSetup` needs to be defined if the module overrides `constantsToExport`.
This commit is contained in:
Jordan Becker 2017-12-07 19:35:32 +01:00 committed by GitHub
parent ebe138fa8d
commit ce7c732453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,4 +62,9 @@ RCT_EXPORT_VIEW_PROPERTY(onPlaybackRateChange, RCTBubblingEventBlock);
};
}
+ (BOOL)requiresMainQueueSetup
{
return YES;
}
@end