Skip to content

Commit

Permalink
Merge pull request #688 from BranchMetrics/CORE-1898-fix-iOS-compilat…
Browse files Browse the repository at this point in the history
…ion-issue

CORE-1898 correct signature as a quick fix.
  • Loading branch information
echo-branch authored May 3, 2021
2 parents dc083f8 + d03639b commit 2185411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/BranchSDK.m
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ - (void)lastAttributedTouchData:(CDVInvokedUrlCommand *)command {
NSMutableDictionary *json = [NSMutableDictionary new];

Branch *branch = [self getInstance];
[branch lastAttributedTouchDataWithAttributionWindow:30 completion:^(BranchLastAttributedTouchData * _Nullable latd) {
[branch lastAttributedTouchDataWithAttributionWindow:30 completion:^(BranchLastAttributedTouchData * _Nullable latd, NSError * _Nullable error) {
CDVPluginResult* pluginResult = nil;
if (latd) {
[json setObject:latd.attributionWindow forKey:@"attribution_window"];
Expand Down

0 comments on commit 2185411

Please sign in to comment.