We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5105a70 commit a8e64fcCopy full SHA for a8e64fc
1 file changed
ios/CodePush/CodePush.m
@@ -5,6 +5,7 @@
5
#import <React/RCTEventDispatcher.h>
6
#import <React/RCTRootView.h>
7
#import <React/RCTUtils.h>
8
+#import <React/RCTReloadCommand.h>
9
#else // back compatibility for RN version < 0.40
10
#import "RCTAssert.h"
11
#import "RCTBridgeModule.h"
@@ -540,7 +541,7 @@ - (void)loadBundle
540
541
[super.bridge setValue:[CodePush bundleURL] forKey:@"bundleURL"];
542
}
543
- [super.bridge reload];
544
+ RCTTriggerReloadCommandListeners(@"react-native-code-push: Restart");
545
});
546
547
0 commit comments