File tree 2 files changed +7
-7
lines changed
react-native/Libraries/AppDelegate
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -140,4 +140,11 @@ - (Class)getModuleClassFromName:(const char *)name
140
140
return nullptr ;
141
141
}
142
142
143
+ - (void )loadSourceForBridge : (RCTBridge *)bridge
144
+ onProgress : (RCTSourceLoadProgressBlock)onProgress
145
+ onComplete : (RCTSourceLoadBlock)loadCallback
146
+ {
147
+ [RCTJavaScriptLoader loadBundleAtURL: [self sourceURLForBridge: bridge] onProgress: onProgress onComplete: loadCallback];
148
+ }
149
+
143
150
@end
Original file line number Diff line number Diff line change @@ -80,13 +80,6 @@ - (BOOL)application:(UIApplication *)app
80
80
return [RCTLinkingManager application: app openURL: url options: options];
81
81
}
82
82
83
- - (void )loadSourceForBridge : (RCTBridge *)bridge
84
- onProgress : (RCTSourceLoadProgressBlock)onProgress
85
- onComplete : (RCTSourceLoadBlock)loadCallback
86
- {
87
- [RCTJavaScriptLoader loadBundleAtURL: [self sourceURLForBridge: bridge] onProgress: onProgress onComplete: loadCallback];
88
- }
89
-
90
83
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule : (const std::string &)name
91
84
jsInvoker : (std::shared_ptr<facebook::react::CallInvoker>)jsInvoker
92
85
{
You can’t perform that action at this time.
0 commit comments