@@ -148,7 +148,7 @@ To deep link, Branch must initialize a session to check if the user originated f
148148``` objc
149149- (BOOL )application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
150150 Branch *branch = [Branch getInstance];
151- [branch initSessionWithLaunchOptions:launchOptions isReferrable:YES andRegisterDeepLinkHandler:^(NSDictionary *params, NSError *error) {
151+ [branch initSessionWithLaunchOptions:launchOptions andRegisterDeepLinkHandler:^(NSDictionary *params, NSError *error) {
152152 // route the user based on what's in params
153153 }];
154154 return YES;
@@ -176,13 +176,13 @@ To deep link, Branch must initialize a session to check if the user originated f
176176``` swift
177177func application (application : UIApplication, didFinishLaunchingWithOptions launchOptions : [NSObject: AnyObject ]? ) -> Bool {
178178 let branch: Branch = Branch.getInstance ()
179- branch.initSessionWithLaunchOptions (launchOptions, true , andRegisterDeepLinkHandler : { params, error in
179+ branch.initSessionWithLaunchOptions (launchOptions, andRegisterDeepLinkHandler : { params, error in
180180 // route the user based on what's in params
181181 })
182182 return true
183183}
184184
185- func application (application : UIApplication, openURL url : NSURL, sourceApplication : String ? , annotation : AnyObject ? ) -> Bool {
185+ func application (application : UIApplication, openURL url : NSURL, sourceApplication : String ? , annotation : AnyObject ) -> Bool {
186186 if (! Branch.getInstance ().handleDeepLink (url)) {
187187 // do other deep link routing for the Facebook SDK, Pinterest SDK, etc
188188 }
0 commit comments