Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit bb04535

Browse files
author
Richard Hua
authored
Fix bundle root location in demo app when loading from packager
1 parent f29e5c6 commit bb04535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/CodePushDemoApp/iOS/CodePushDemoApp/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
1010
NSURL *jsCodeLocation;
1111

1212
// Use React Native's RCTBundleURLProvider to resolve your JS bundle location, so that your app will load the JS bundle from the packager server during development.
13-
//jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
13+
//jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
1414

1515
// Use CodePush to resolve your JS bundle location, so that your app will run the version of the code distributed via CodePush
1616
jsCodeLocation = [CodePush bundleURL];

0 commit comments

Comments
 (0)