Skip to content

Commit eb3689d

Browse files
committed
Merge pull request #289 from BranchMetrics/increase-timeout
increase timeout for SFSafariViewController
2 parents 161ceab + 358040c commit eb3689d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Branch-SDK/Branch-SDK/BNCStrongMatchHelper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ - (void)presentSafariVCWithBranchKey:(NSString *)branchKey {
119119
[safController didMoveToParentViewController:windowRootController];
120120

121121
// Give a little bit of time for safari to load the request.
122-
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
122+
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(10 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
123123
// Remove the safari view controller from view controller containment
124124
[safController willMoveToParentViewController:nil];
125125
[safController.view removeFromSuperview];

0 commit comments

Comments
 (0)