Przeglądaj źródła

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

jbolter 8 lat temu
rodzic
commit
7c00ff59e8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      example/ios/example/AppDelegate.m

+ 1
- 1
example/ios/example/AppDelegate.m Wyświetl plik

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