Skip to content

Commit 09c1e9c

Browse files
committed
hotfix for facebook shouldWaitForInit functionality
1 parent a4134a0 commit 09c1e9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Branch-SDK/Branch-SDK/Branch.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,8 @@ - (BOOL)continueUserActivity:(NSUserActivity *)userActivity {
410410
//check to see if a browser activity needs to be handled
411411
if ([userActivity.activityType isEqualToString:NSUserActivityTypeBrowsingWeb]) {
412412
self.preferenceHelper.universalLinkUrl = [userActivity.webpageURL absoluteString];
413-
[self initUserSessionAndCallCallback:YES];
414413
self.preferenceHelper.shouldWaitForInit = NO;
414+
[self initUserSessionAndCallCallback:YES];
415415

416416
id branchUniversalLinkDomains = [self.preferenceHelper getBranchUniversalLinkDomains];
417417
if ([branchUniversalLinkDomains isKindOfClass:[NSString class]] && [[userActivity.webpageURL absoluteString] containsString:branchUniversalLinkDomains]) {
@@ -1364,4 +1364,4 @@ + (NSString *)kitDisplayVersion {
13641364
return @"0.12.9";
13651365
}
13661366

1367-
@end
1367+
@end

0 commit comments

Comments
 (0)