Skip to content

Commit aef843b

Browse files
philIipfacebook-github-bot
authored andcommitted
update jsBundleURLForBundleRoot in template project
Summary: Changelog: [iOS][Changed] - updated `jsBundleURLForBundleRoot:fallbackResource` to `jsBundleURLForBundleRoot:` Reviewed By: sota000 Differential Revision: D33192280 fbshipit-source-id: 77ed2f2b767811d9f13a33cac77598b425df95c3
1 parent 5883208 commit aef843b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/ios/HelloWorld/AppDelegate.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
6060
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
6161
{
6262
#if DEBUG
63-
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
63+
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
6464
#else
6565
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
6666
#endif

0 commit comments

Comments
 (0)