Skip to content

Commit 94657d5

Browse files
authored
Merge pull request #1215 from BranchMetrics/SDK-1741-Fix-for-SKAN-error-handling-on-iOS-15.4
SDK-1741 fix for skan error handling on iOS 15.4
2 parents 29bbb68 + 7ed7b37 commit 94657d5

File tree

13 files changed

+17
-22
lines changed

13 files changed

+17
-22
lines changed

Branch-SDK/BNCConfig.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
NSString * const BNC_API_BASE_URL = @"https://api2.branch.io";
1212
NSString * const BNC_API_VERSION = @"v1";
1313
NSString * const BNC_LINK_URL = @"https://bnc.lt";
14-
NSString * const BNC_SDK_VERSION = @"1.45.1";
14+
NSString * const BNC_SDK_VERSION = @"1.45.2";

Branch-SDK/BranchEvent.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ - (void)processResponse:(BNCServerResponse*)response error:(NSError*)error {
9898
} else {
9999
BNCLogDebug([NSString stringWithFormat:@"Update conversion value was successful. Conversion Value - %@", conversionValue]);
100100
}
101-
return;
102101
}];
103102
}
104103

@@ -109,9 +108,7 @@ - (void)processResponse:(BNCServerResponse*)response error:(NSError*)error {
109108
} else {
110109
BNCLogDebug([NSString stringWithFormat:@"Update conversion value was successful. Conversion Value - %@", conversionValue]);
111110
}
112-
return;
113111
}];
114-
return;
115112
} else {
116113
[[BNCSKAdNetwork sharedInstance] updateConversionValue:conversionValue.integerValue];
117114
}

Branch-SDK/BranchOpenRequest.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ - (void)processResponse:(BNCServerResponse *)response error:(NSError *)error {
336336

337337
if(shouldCallUpdatePostback){
338338
[[BNCSKAdNetwork sharedInstance] updatePostbackConversionValue: conversionValue.longValue coarseValue:coarseConversionValue lockWindow:lockWin completionHandler:^(NSError * _Nullable error) {
339-
340339
if (error) {
341340
BNCLogError([NSString stringWithFormat:@"Update conversion value failed with error - %@", [error description]]);
342341
} else {
@@ -346,15 +345,12 @@ - (void)processResponse:(BNCServerResponse *)response error:(NSError *)error {
346345
}
347346
} else if (@available(iOS 15.4, *)) {
348347
[[BNCSKAdNetwork sharedInstance] updatePostbackConversionValue:conversionValue.intValue completionHandler: ^(NSError *error){
349-
350348
if (error) {
351349
BNCLogError([NSString stringWithFormat:@"Update conversion value failed with error - %@", [error description]]);
352350
} else {
353351
BNCLogDebug([NSString stringWithFormat:@"Update conversion value was successful. Conversion Value - %@", conversionValue]);
354352
}
355-
return;
356353
}];
357-
return;
358354
} else {
359355
[[BNCSKAdNetwork sharedInstance] updateConversionValue:conversionValue.integerValue];
360356
}

Branch-TestBed/Branch-TestBed.xcodeproj/Branch-TestBed.xctestplan

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
"resolvedPath" : "..\/Simulate-FirstRun.xcappdata"
3131
},
3232
"skippedTests" : [
33-
"BNCAppleAdClientTests",
34-
"BNCAppleSearchAdsTests"
33+
"BNCServerInterfaceTests"
3534
],
3635
"target" : {
3736
"containerPath" : "container:Branch-TestBed.xcodeproj",
0 Bytes
Binary file not shown.

Branch.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Branch"
3-
s.version = "1.45.1"
3+
s.version = "1.45.2"
44
s.summary = "Create an HTTP URL for any piece of content in your app"
55
s.description = <<-DESC
66
- Want the highest possible conversions on your sharing feature?

ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Branch iOS SDK Change Log
22

3+
v.1.45.2
4+
- SDK-1741 Fix SKAN error handling on iOS 15.4
5+
36
v.1.45.1
47
- SDK-1724 Branch SDK returns an error "SKANErrorDomain Code=10" in initSession function - Fix
58

carthage-files/BranchSDK.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,7 +1723,7 @@
17231723
INFOPLIST_FILE = "Branch-tvOS/Info.plist";
17241724
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
17251725
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1726-
MARKETING_VERSION = 1.45.1;
1726+
MARKETING_VERSION = 1.45.2;
17271727
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
17281728
MTL_FAST_MATH = YES;
17291729
ONLY_ACTIVE_ARCH = YES;
@@ -1760,7 +1760,7 @@
17601760
INFOPLIST_FILE = "Branch-tvOS/Info.plist";
17611761
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
17621762
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1763-
MARKETING_VERSION = 1.45.1;
1763+
MARKETING_VERSION = 1.45.2;
17641764
MTL_FAST_MATH = YES;
17651765
ONLY_ACTIVE_ARCH = NO;
17661766
PRODUCT_BUNDLE_IDENTIFIER = io.branch.Branch;
@@ -1792,7 +1792,7 @@
17921792
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
17931793
MACH_O_TYPE = staticlib;
17941794
MACOSX_DEPLOYMENT_TARGET = 10.15;
1795-
MARKETING_VERSION = 1.45.1;
1795+
MARKETING_VERSION = 1.45.2;
17961796
ONLY_ACTIVE_ARCH = YES;
17971797
OTHER_LDFLAGS = "-ObjC";
17981798
PRODUCT_BUNDLE_IDENTIFIER = io.branch.Branch;
@@ -1821,7 +1821,7 @@
18211821
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
18221822
MACH_O_TYPE = staticlib;
18231823
MACOSX_DEPLOYMENT_TARGET = 10.15;
1824-
MARKETING_VERSION = 1.45.1;
1824+
MARKETING_VERSION = 1.45.2;
18251825
ONLY_ACTIVE_ARCH = NO;
18261826
OTHER_LDFLAGS = "-ObjC";
18271827
PRODUCT_BUNDLE_IDENTIFIER = io.branch.Branch;
@@ -1976,7 +1976,7 @@
19761976
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
19771977
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
19781978
MACOSX_DEPLOYMENT_TARGET = 10.15;
1979-
MARKETING_VERSION = 1.45.1;
1979+
MARKETING_VERSION = 1.45.2;
19801980
ONLY_ACTIVE_ARCH = YES;
19811981
OTHER_LDFLAGS = "-ObjC";
19821982
PRODUCT_BUNDLE_IDENTIFIER = io.branch.Branch;
@@ -2003,7 +2003,7 @@
20032003
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
20042004
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
20052005
MACOSX_DEPLOYMENT_TARGET = 10.15;
2006-
MARKETING_VERSION = 1.45.1;
2006+
MARKETING_VERSION = 1.45.2;
20072007
ONLY_ACTIVE_ARCH = NO;
20082008
OTHER_LDFLAGS = "-ObjC";
20092009
PRODUCT_BUNDLE_IDENTIFIER = io.branch.Branch;

carthage-files/checksum.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#checksum for Branch on Github
2-
e70c48a4db12cf3ee332dc843f5be2f7ae0f2802 Branch.zip
2+
b7bf71023649022418abad9bd0f0eef35b41cb90 Branch.zip

carthage-files/checksum_noidfa.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#checksum for Branch on Github
2-
50db8dd781102e1c47a77c228aeb036258abe439 Branch_noidfa.zip
2+
8306d3a9224234bd0380026d9828844eecb32a6e Branch_noidfa.zip

0 commit comments

Comments
 (0)