1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

fix bug: solve warning triggered by constantsToExport

This commit is contained in:
chenlong 2019-02-12 14:50:26 +08:00
parent 4ee2f51172
commit 152c8a25f3

View File

@ -135,6 +135,10 @@ RCT_EXPORT_MODULE(RCTHotUpdate);
return [RCTHotUpdate binaryBundleURL];
}
+ (BOOL)requiresMainQueueSetup {
return YES;
}
- (NSDictionary *)constantsToExport
{
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];