1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-18 01:26:10 +08:00
Code Issues 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];