Skip to content

Commit c6ecbb5

Browse files
committed
SDK-479 correct public API signature
1 parent e2e2524 commit c6ecbb5

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

Branch-SDK/Branch-SDK/Branch.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,9 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
951951

952952
#pragma mark - Query methods
953953

954-
- (void)requestCrossPlatformIdDataWithCompletion:(void(^) (BranchCrossPlatformID *cpid))completion;
954+
- (void)requestCrossPlatformIdDataWithCompletion:(void(^) (BranchCrossPlatformID * _Nullable cpid))completion;
955955

956-
- (void)requestLastTouchAttributedDataWithCompletion:(void(^) (NSDictionary *ltad, NSNumber *attributionWindow))completion;
956+
- (void)requestLastTouchAttributedDataWithCompletion:(void(^) (BranchLastAttributedTouchData * _Nullable ltad))completion;
957957

958958
#pragma mark - Short Url Sync methods
959959

Branch-SDK/Branch-SDK/Branch.m

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,14 +1348,12 @@ - (BranchLinkProperties *)getLatestReferringBranchLinkProperties {
13481348

13491349
#pragma mark - Query methods
13501350

1351-
- (void)requestCrossPlatformIdDataWithCompletion:(void(^) (BranchCrossPlatformID *cpid))completion {
1351+
- (void)requestCrossPlatformIdDataWithCompletion:(void(^) (BranchCrossPlatformID * _Nullable cpid))completion {
13521352
[BranchCrossPlatformID requestCrossPlatformIdData:self.serverInterface key:self.class.branchKey completion:completion];
13531353
}
13541354

1355-
- (void)requestLastTouchAttributedDataWithCompletion:(void(^) (NSDictionary *ltad, NSNumber *attributionWindow))completion {
1356-
[BranchLastAttributedTouchData requestLastTouchAttributedData:self.serverInterface key:self.class.branchKey completion:^(BranchLastAttributedTouchData * _Nonnull latd) {
1357-
1358-
}];
1355+
- (void)requestLastTouchAttributedDataWithCompletion:(void(^) (BranchLastAttributedTouchData * _Nullable ltad))completion {
1356+
[BranchLastAttributedTouchData requestLastTouchAttributedData:self.serverInterface key:self.class.branchKey completion:completion];
13591357
}
13601358

13611359
#pragma mark - ShortUrl methods

0 commit comments

Comments
 (0)