File tree Expand file tree Collapse file tree
react-native/Libraries/AppDelegate Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,4 +140,11 @@ - (Class)getModuleClassFromName:(const char *)name
140140 return nullptr ;
141141}
142142
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+
143150@end
Original file line number Diff line number Diff line change @@ -80,13 +80,6 @@ - (BOOL)application:(UIApplication *)app
8080 return [RCTLinkingManager application: app openURL: url options: options];
8181}
8282
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-
9083- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule : (const std::string &)name
9184 jsInvoker : (std::shared_ptr<facebook::react::CallInvoker>)jsInvoker
9285{
You can’t perform that action at this time.
0 commit comments