diff --git a/example/RNExampleApp/ios/RNExampleApp/AppDelegate.m b/example/RNExampleApp/ios/RNExampleApp/AppDelegate.m index 078bf503..6f75b68b 100644 --- a/example/RNExampleApp/ios/RNExampleApp/AppDelegate.m +++ b/example/RNExampleApp/ios/RNExampleApp/AppDelegate.m @@ -18,8 +18,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( { NSURL *jsCodeLocation; -// jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; - jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; + jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; +// jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation moduleName:@"RNExampleApp"