|  | @@ -1,4 +1,5 @@
 | 
	
		
			
			| 1 | 1 |  #import "AppDelegate.h"
 | 
	
		
			
			|  | 2 | +#import "RCTBundleURLProvider.h"
 | 
	
		
			
			| 2 | 3 |  
 | 
	
		
			
			| 3 | 4 |  // **********************************************
 | 
	
		
			
			| 4 | 5 |  // *** DON'T MISS: THE NEXT LINE IS IMPORTANT ***
 | 
	
	
		
			
			|  | @@ -16,7 +17,8 @@
 | 
	
		
			
			| 16 | 17 |  {
 | 
	
		
			
			| 17 | 18 |    NSURL *jsCodeLocation;
 | 
	
		
			
			| 18 | 19 |  #ifdef DEBUG
 | 
	
		
			
			| 19 |  | -  jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"];
 | 
	
		
			
			|  | 20 | +//  jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"];
 | 
	
		
			
			|  | 21 | +  jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
 | 
	
		
			
			| 20 | 22 |  #else
 | 
	
		
			
			| 21 | 23 |     jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
 | 
	
		
			
			| 22 | 24 |  #endif
 |