Skip to content

Commit 92c524f

Browse files
author
Edward Smith
committed
Merge branch 'staging' of ssh://github.com/BranchMetrics/ios-branch-deep-linking into QA
2 parents 1052a10 + 6612ba8 commit 92c524f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Branch-SDK/Branch-SDK/Branch.m

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,6 @@ - (void)initializeSession {
14911491
clazz = [BranchOpenRequest class];
14921492
}
14931493

1494-
#if 0 // eDebug - Does this have to be on the main queue? This breaks the tests.
14951494
callbackWithStatus initSessionCallback = ^(BOOL success, NSError *error) {
14961495
dispatch_async(dispatch_get_main_queue(), ^ {
14971496
if (error) {
@@ -1501,14 +1500,6 @@ - (void)initializeSession {
15011500
}
15021501
});
15031502
};
1504-
#else
1505-
callbackWithStatus initSessionCallback = ^(BOOL success, NSError *error) {
1506-
if (error)
1507-
[self handleInitFailure:error];
1508-
else
1509-
[self handleInitSuccess];
1510-
};
1511-
#endif
15121503

15131504
if ([BNCSystemObserver getOSVersion].integerValue >= 9 && self.useCookieBasedMatching) {
15141505
[[BNCStrongMatchHelper strongMatchHelper] createStrongMatchWithBranchKey:self.branchKey];

0 commit comments

Comments
 (0)