Browse Source

Update example AppDelegate to pass launchOptions to the bridge (#1306)

jbolter 7 years ago
parent
commit
7c00ff59e8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      example/ios/example/AppDelegate.m

+ 1
- 1
example/ios/example/AppDelegate.m View File

29
   // **********************************************
29
   // **********************************************
30
   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
30
   self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
31
   self.window.backgroundColor = [UIColor whiteColor];
31
   self.window.backgroundColor = [UIColor whiteColor];
32
-  [[RCCManager sharedInstance] initBridgeWithBundleURL:jsCodeLocation];
32
+  [[RCCManager sharedInstance] initBridgeWithBundleURL:jsCodeLocation launchOptions:launchOptions];
33
 
33
 
34
   /*
34
   /*
35
   // original RN bootstrap - remove this part
35
   // original RN bootstrap - remove this part