Skip to content

Commit

Permalink
Merge pull request #125 from apphud/update-Adjust-adid
Browse files Browse the repository at this point in the history
add adid logic
  • Loading branch information
vlr-code authored Nov 19, 2024
2 parents 4b0cae3 + ae4e525 commit a022887
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ApphudSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'ApphudSDK'
s.version = '3.5.6'
s.version = '3.5.7'
s.summary = 'Build and Measure In-App Subscriptions on iOS.'
s.description = 'Apphud covers every aspect when it comes to In-App Subscriptions from integration to analytics on iOS and Android.'
s.homepage = 'https://github.com/apphud/ApphudSDK'
Expand Down
6 changes: 5 additions & 1 deletion Sources/Internal/ApphudInternal+Attribution.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ extension ApphudInternal {
callback?(false)
return
}
if let data = data {
if var data = data {
if let adid = identifer {
data["adid"] = adid
}

params["adjust_data"] = data

guard await self.submittedPreviouslyAdjust(data: data) else {
Expand Down
2 changes: 1 addition & 1 deletion Sources/Public/Apphud.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Foundation
import UserNotifications
import SwiftUI

internal let apphud_sdk_version = "3.5.6"
internal let apphud_sdk_version = "3.5.7"

// MARK: - Initialization

Expand Down

0 comments on commit a022887

Please sign in to comment.