Add `requiresMainQueueSetup` to fix warning in RN 0.49+ (#172)

This commit is contained in:
Jonathan Kim 2017-10-17 17:53:42 +01:00 committed by Pedro Belo
parent 8edb7f5ab2
commit 119353630c
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,11 @@
RCT_EXPORT_MODULE()
+ (BOOL)requiresMainQueueSetup
{
return YES;
}
+ (NSDictionary *)env {
return (NSDictionary *)DOT_ENV;
}