File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,8 @@ PODS:
182
182
- React-cxxreact (= 0.61.5)
183
183
- React-jsi (= 0.61.5)
184
184
- React-jsinspector (0.61.5)
185
- - react-native-restart (0.0.15 ):
186
- - React
185
+ - react-native-restart (0.0.17 ):
186
+ - React-Core
187
187
- React-RCTActionSheet (0.61.5):
188
188
- React-Core/RCTActionSheetHeaders (= 0.61.5)
189
189
- React-RCTAnimation (0.61.5):
@@ -326,7 +326,7 @@ SPEC CHECKSUMS:
326
326
React-jsi: cb2cd74d7ccf4cffb071a46833613edc79cdf8f7
327
327
React-jsiexecutor: d5525f9ed5f782fdbacb64b9b01a43a9323d2386
328
328
React-jsinspector: fa0ecc501688c3c4c34f28834a76302233e29dc0
329
- react-native-restart: fff228304625f55de2ebd4de43938110f4c888ed
329
+ react-native-restart: 5339c6a33b947c39bcf5877fd2a9352d59d481b9
330
330
React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76
331
331
React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360
332
332
React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72
Original file line number Diff line number Diff line change 1
1
#import < React/RCTBridgeModule.h>
2
2
#import < React/RCTRootView.h>
3
+ #import < React/RCTReloadCommand.h>
3
4
4
5
@interface Restart : NSObject <RCTBridgeModule>
5
6
Original file line number Diff line number Diff line change 2
2
3
3
@implementation Restart
4
4
5
- @synthesize bridge = _bridge;
6
-
7
5
RCT_EXPORT_MODULE (RNRestart)
8
6
9
7
- (void )loadBundle
10
8
{
11
- [_bridge reload ] ;
9
+ RCTTriggerReloadCommandListeners () ;
12
10
}
13
11
14
12
RCT_EXPORT_METHOD (Restart) {
You can’t perform that action at this time.
0 commit comments