From d03639b61dce1db77458c750877910bd6f2f1184 Mon Sep 17 00:00:00 2001 From: Ernest Cho Date: Mon, 3 May 2021 10:08:29 -0700 Subject: [PATCH] CORE-1898 correct signature as a quick fix. --- src/ios/BranchSDK.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/BranchSDK.m b/src/ios/BranchSDK.m index 8bd5685f..0d0bab17 100644 --- a/src/ios/BranchSDK.m +++ b/src/ios/BranchSDK.m @@ -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"];