@@ -746,7 +746,7 @@ - (void)listOnSpotlight:(CDVInvokedUrlCommand*)command {
746
746
747
747
- (void )crossPlatformIds : (CDVInvokedUrlCommand *)command {
748
748
NSMutableDictionary *json = [NSMutableDictionary new ];
749
-
749
+
750
750
Branch *branch = [self getInstance ];
751
751
[branch crossPlatformIdDataWithCompletion: ^(BranchCrossPlatformID *cpid) {
752
752
CDVPluginResult* pluginResult = nil ;
@@ -760,9 +760,9 @@ - (void)crossPlatformIds:(CDVInvokedUrlCommand *)command {
760
760
for (BranchProbabilisticCrossPlatformID *tmp in cpid.probabiliticCrossPlatformIDs ) {
761
761
if (tmp.crossPlatformID && tmp.score ) {
762
762
NSMutableDictionary *pair = [NSMutableDictionary new ];
763
- [pair setObject: tmp.crossPlatformID forKey: @" id" ];
763
+ [pair setObject: tmp.crossPlatformID forKey: @" id" ];
764
764
[pair setObject: tmp.score forKey: @" probability" ];
765
- [probCPIDs addObject: pair];
765
+ [probCPIDs addObject: pair];
766
766
}
767
767
}
768
768
[json setObject: probCPIDs forKey: @" prob_cross_platform_ids" ];
@@ -777,9 +777,9 @@ - (void)crossPlatformIds:(CDVInvokedUrlCommand *)command {
777
777
778
778
- (void )lastAttributedTouchData : (CDVInvokedUrlCommand *)command {
779
779
NSMutableDictionary *json = [NSMutableDictionary new ];
780
-
780
+
781
781
Branch *branch = [self getInstance ];
782
- [branch lastTouchAttributedDataWithCompletion : ^(BranchLastAttributedTouchData * _Nullable latd) {
782
+ [branch lastAttributedTouchDataWithAttributionWindow: 30 completion : ^(BranchLastAttributedTouchData * _Nullable latd) {
783
783
CDVPluginResult* pluginResult = nil ;
784
784
if (latd) {
785
785
[json setObject: latd.attributionWindow forKey: @" attribution_window" ];
0 commit comments