Skip to content

Commit

Permalink
changed Code Location back to Server
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslaux committed Jun 8, 2018
1 parent 19df136 commit 800ea2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/RNExampleApp/ios/RNExampleApp/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 800ea2f

Please sign in to comment.