Procházet zdrojové kódy

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

jbolter před 8 roky
rodič
revize
7c00ff59e8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      example/ios/example/AppDelegate.m

+ 1
- 1
example/ios/example/AppDelegate.m Zobrazit soubor

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