diff --git a/ios/CodePush/CodePush.m b/ios/CodePush/CodePush.m index b28100c33..b58d21864 100644 --- a/ios/CodePush/CodePush.m +++ b/ios/CodePush/CodePush.m @@ -5,6 +5,7 @@ #import #import #import +#import #else // back compatibility for RN version < 0.40 #import "RCTAssert.h" #import "RCTBridgeModule.h" @@ -540,7 +541,7 @@ - (void)loadBundle [super.bridge setValue:[CodePush bundleURL] forKey:@"bundleURL"]; } - [super.bridge reload]; + RCTTriggerReloadCommandListeners(@"react-native-code-push: Restart"); }); }