|
@@ -25,11 +25,11 @@
|
25
|
25
|
// **********************************************
|
26
|
26
|
// *** DON'T MISS: THIS IS HOW WE BOOTSTRAP *****
|
27
|
27
|
// **********************************************
|
28
|
|
- /*self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
|
28
|
+ self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
29
|
29
|
self.window.backgroundColor = [UIColor whiteColor];
|
30
|
|
- [[RCCManager sharedInstance] initBridgeWithBundleURL:jsCodeLocation];*/
|
|
30
|
+ [[RCCManager sharedInstance] initBridgeWithBundleURL:jsCodeLocation];
|
31
|
31
|
|
32
|
|
-
|
|
32
|
+ /*
|
33
|
33
|
// original RN bootstrap - remove this part
|
34
|
34
|
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
|
35
|
35
|
moduleName:@"com.example.WelcomeScreen"
|
|
@@ -40,7 +40,7 @@
|
40
|
40
|
rootViewController.view = rootView;
|
41
|
41
|
self.window.rootViewController = rootViewController;
|
42
|
42
|
[self.window makeKeyAndVisible];
|
43
|
|
-
|
|
43
|
+ */
|
44
|
44
|
|
45
|
45
|
|
46
|
46
|
return YES;
|