File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
example/ios/IntercomReactNativeExample Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
4848#endif
4949
5050 NSMutableDictionary *newLaunchOptions = [NSMutableDictionary dictionaryWithDictionary: launchOptions];
51+
52+ // Modifying launchOptions to facilitate deep linking.
5153 if (launchOptions[UIApplicationLaunchOptionsRemoteNotificationKey]) {
5254 NSDictionary *remoteNotif = launchOptions[UIApplicationLaunchOptionsRemoteNotificationKey];
5355 if (remoteNotif[@" uri" ]) {
@@ -57,6 +59,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
5759 }
5860 }
5961 }
62+
6063 RCTBridge *bridge = [[RCTBridge alloc ] initWithDelegate: self launchOptions: newLaunchOptions];
6164 RCTRootView *rootView = [[RCTRootView alloc ] initWithBridge: bridge
6265 moduleName: @" IntercomReactNativeExample"
You can’t perform that action at this time.
0 commit comments