Skip to content

Commit 2c4b248

Browse files
authored
Added comment.
1 parent 2cf9909 commit 2c4b248

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

example/ios/IntercomReactNativeExample/AppDelegate.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)