Skip to content

Commit

Permalink
Master branch to use the local jsBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
appideasDOTcom committed Nov 4, 2018
1 parent a12b973 commit 714f7ba
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -16,9 +16,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
{
NSURL *jsCodeLocation;

jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
//jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];

//jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];

RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
moduleName:@"AppideasLights"
Expand Down

0 comments on commit 714f7ba

Please sign in to comment.