Skip to content

Commit e8b49ab

Browse files
authored
Merge pull request #953 from BranchMetrics/SDK-594-tune-check-only-works-on-first-install
SDK-594 fix tune data check only works once
2 parents 75f8624 + b4d43ba commit e8b49ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Branch-SDK/Branch-SDK/BNCTuneUtility.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ @implementation BNCTuneUtility
1212

1313
// INTENG-7695 Tune data indicates an app upgrading from Tune SDK to Branch SDK
1414
+ (BOOL)isTuneDataPresent {
15-
__block BOOL isPresent = NO;
15+
static BOOL isPresent = NO;
1616
static dispatch_once_t onceToken;
1717
dispatch_once(&onceToken, ^{
1818
NSString *tuneMatIdKey = @"_TUNE_mat_id";

0 commit comments

Comments
 (0)