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

Merge pull request #241 from Amos729/master

fix bug: solve warning triggered by constantsToExport
This commit is contained in:
Sunny Luo 2019-02-12 17:00:58 +08:00 committed by GitHub
commit 7b7d8a9ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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