Skip to content

Commit a022887

Browse files
authored
Merge pull request #125 from apphud/update-Adjust-adid
add adid logic
2 parents 4b0cae3 + ae4e525 commit a022887

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

ApphudSDK.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 = 'ApphudSDK'
3-
s.version = '3.5.6'
3+
s.version = '3.5.7'
44
s.summary = 'Build and Measure In-App Subscriptions on iOS.'
55
s.description = 'Apphud covers every aspect when it comes to In-App Subscriptions from integration to analytics on iOS and Android.'
66
s.homepage = 'https://github.com/apphud/ApphudSDK'

Sources/Internal/ApphudInternal+Attribution.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ extension ApphudInternal {
7474
callback?(false)
7575
return
7676
}
77-
if let data = data {
77+
if var data = data {
78+
if let adid = identifer {
79+
data["adid"] = adid
80+
}
81+
7882
params["adjust_data"] = data
7983

8084
guard await self.submittedPreviouslyAdjust(data: data) else {

Sources/Public/Apphud.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import Foundation
1414
import UserNotifications
1515
import SwiftUI
1616

17-
internal let apphud_sdk_version = "3.5.6"
17+
internal let apphud_sdk_version = "3.5.7"
1818

1919
// MARK: - Initialization
2020

0 commit comments

Comments
 (0)