appsprint-react-native 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/ios/AppSprintBridge.swift +3 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/AppSprintSDK +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Info.plist +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.abi.json +532 -193
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.package.swiftinterface +14 -40
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +14 -40
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.swiftinterface +14 -40
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/AppSprintSDK +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Info.plist +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +532 -193
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +14 -40
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +14 -40
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +14 -40
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +532 -193
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +14 -40
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +14 -40
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +14 -40
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/_CodeSignature/CodeResources +1 -1
- package/lib/commonjs/AppSprintAppleAds.js +46 -0
- package/lib/commonjs/index.js +7 -0
- package/lib/module/AppSprintAppleAds.js +42 -0
- package/lib/module/index.js +1 -0
- package/lib/typescript/AppSprintAppleAds.d.ts +16 -0
- package/lib/typescript/index.d.ts +2 -0
- package/lib/typescript/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/AppSprintAppleAds.ts +54 -0
- package/src/index.ts +4 -0
- package/src/types.ts +1 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -
|
|
4
|
-
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -module-name AppSprintSDK -package-name appsprint_ios
|
|
4
|
+
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
|
|
5
5
|
import AdServices
|
|
6
6
|
import AdSupport
|
|
7
7
|
import AppTrackingTransparency
|
|
@@ -27,30 +27,30 @@ import os
|
|
|
27
27
|
}
|
|
28
28
|
@_Concurrency.MainActor public init()
|
|
29
29
|
@_Concurrency.MainActor final public func configure(_ config: AppSprintSDK.AppSprintConfig) async
|
|
30
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
31
30
|
@_Concurrency.MainActor final public func sendEvent(_ eventType: AppSprintSDK.AppSprintEventType, name: Swift.String? = nil, params: [Swift.String : Any]? = nil) async
|
|
32
|
-
#endif
|
|
33
31
|
@_Concurrency.MainActor final public func flush() async
|
|
34
32
|
@_Concurrency.MainActor final public func clearData()
|
|
35
33
|
@_Concurrency.MainActor final public func isSdkDisabled() -> Swift.Bool
|
|
36
34
|
@_Concurrency.MainActor final public func setCustomerUserId(_ userId: Swift.String) async
|
|
37
35
|
@_Concurrency.MainActor final public func sendTestEvent() async -> AppSprintSDK.TestEventResult
|
|
38
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
39
36
|
@_Concurrency.MainActor final public func getAppSprintId() -> Swift.String?
|
|
40
|
-
#endif
|
|
41
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
42
37
|
@_Concurrency.MainActor final public func getAttribution() -> AppSprintSDK.AttributionResult?
|
|
43
|
-
#endif
|
|
44
38
|
@_Concurrency.MainActor final public func getAttributionParams() -> [Swift.String : Swift.String]
|
|
45
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
46
39
|
@discardableResult
|
|
47
40
|
@_Concurrency.MainActor final public func refreshAttribution() async -> AppSprintSDK.AttributionResult?
|
|
48
|
-
#endif
|
|
49
41
|
@discardableResult
|
|
50
42
|
@_Concurrency.MainActor final public func enableAppleAdsAttribution() -> Swift.Bool
|
|
51
43
|
@_Concurrency.MainActor final public func destroy()
|
|
52
44
|
@objc deinit
|
|
53
45
|
}
|
|
46
|
+
@_Concurrency.MainActor public enum AppSprintAppleAds {
|
|
47
|
+
@_Concurrency.MainActor public static func configure(apiKey: Swift.String, apiURL: Foundation.URL? = nil, isDebug: Swift.Bool = false) async
|
|
48
|
+
@_Concurrency.MainActor public static func getAppSprintId() -> Swift.String?
|
|
49
|
+
@_Concurrency.MainActor public static func getAttributionParams() -> [Swift.String : Swift.String]
|
|
50
|
+
@_Concurrency.MainActor public static func getAttribution() -> AppSprintSDK.AttributionResult?
|
|
51
|
+
@discardableResult
|
|
52
|
+
@_Concurrency.MainActor public static func refreshAttribution() async -> AppSprintSDK.AttributionResult?
|
|
53
|
+
}
|
|
54
54
|
public struct AppSprintConfig : Swift.Sendable {
|
|
55
55
|
public static let defaultAPIURL: Foundation.URL
|
|
56
56
|
public var apiKey: Swift.String
|
|
@@ -61,24 +61,17 @@ public struct AppSprintConfig : Swift.Sendable {
|
|
|
61
61
|
public var customerUserId: Swift.String?
|
|
62
62
|
public var autoTrackSessions: Swift.Bool
|
|
63
63
|
public var autoRefreshAttribution: Swift.Bool
|
|
64
|
+
public var eventTrackingEnabled: Swift.Bool
|
|
64
65
|
public var googleAdsConsent: AppSprintSDK.GoogleAdsConsent?
|
|
65
|
-
|
|
66
|
-
public init(apiKey: Swift.String, apiURL: Foundation.URL = AppSprintConfig.defaultAPIURL, enableAppleAdsAttribution: Swift.Bool = true, isDebug: Swift.Bool = false, logLevel: AppSprintSDK.AppSprintLogLevel = .warn, customerUserId: Swift.String? = nil, autoTrackSessions: Swift.Bool = true, autoRefreshAttribution: Swift.Bool = true, googleAdsConsent: AppSprintSDK.GoogleAdsConsent? = nil)
|
|
67
|
-
#endif
|
|
66
|
+
public init(apiKey: Swift.String, apiURL: Foundation.URL = AppSprintConfig.defaultAPIURL, enableAppleAdsAttribution: Swift.Bool = true, isDebug: Swift.Bool = false, logLevel: AppSprintSDK.AppSprintLogLevel = .warn, customerUserId: Swift.String? = nil, autoTrackSessions: Swift.Bool = true, autoRefreshAttribution: Swift.Bool = true, eventTrackingEnabled: Swift.Bool = true, googleAdsConsent: AppSprintSDK.GoogleAdsConsent? = nil)
|
|
68
67
|
}
|
|
69
68
|
public enum AppSprintNative {
|
|
70
69
|
@_Concurrency.MainActor public static func getDeviceInfo() -> AppSprintSDK.DeviceInfo
|
|
71
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
72
70
|
public static func getAdServicesToken() -> Swift.String?
|
|
73
|
-
#endif
|
|
74
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
75
71
|
@_Concurrency.MainActor public static func getWebViewUserAgent() async -> Swift.String?
|
|
76
|
-
#endif
|
|
77
72
|
@_Concurrency.MainActor public static func requestTrackingAuthorization() async -> Swift.Bool
|
|
78
73
|
public static func storageSet(_ key: Swift.String, value: Swift.String)
|
|
79
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
80
74
|
public static func storageGet(_ key: Swift.String) -> Swift.String?
|
|
81
|
-
#endif
|
|
82
75
|
public static func storageRemove(_ key: Swift.String)
|
|
83
76
|
}
|
|
84
77
|
public enum AppSprintLogLevel : Swift.Int, Swift.Codable, Swift.Sendable {
|
|
@@ -86,9 +79,7 @@ public enum AppSprintLogLevel : Swift.Int, Swift.Codable, Swift.Sendable {
|
|
|
86
79
|
case info
|
|
87
80
|
case warn
|
|
88
81
|
case error
|
|
89
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
90
82
|
public init?(rawValue: Swift.Int)
|
|
91
|
-
#endif
|
|
92
83
|
public typealias RawValue = Swift.Int
|
|
93
84
|
public var rawValue: Swift.Int {
|
|
94
85
|
get
|
|
@@ -115,9 +106,7 @@ public enum AppSprintEventType : Swift.String, Swift.Codable, Swift.CaseIterable
|
|
|
115
106
|
case levelStart
|
|
116
107
|
case levelComplete
|
|
117
108
|
case custom
|
|
118
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
119
109
|
public init?(rawValue: Swift.String)
|
|
120
|
-
#endif
|
|
121
110
|
public typealias AllCases = [AppSprintSDK.AppSprintEventType]
|
|
122
111
|
public typealias RawValue = Swift.String
|
|
123
112
|
nonisolated public static var allCases: [AppSprintSDK.AppSprintEventType] {
|
|
@@ -132,9 +121,7 @@ public enum AppSprintAttStatus : Swift.String, Swift.Codable, Swift.Sendable {
|
|
|
132
121
|
case restricted
|
|
133
122
|
case denied
|
|
134
123
|
case authorized
|
|
135
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
136
124
|
public init?(rawValue: Swift.String)
|
|
137
|
-
#endif
|
|
138
125
|
public typealias RawValue = Swift.String
|
|
139
126
|
public var rawValue: Swift.String {
|
|
140
127
|
get
|
|
@@ -159,9 +146,7 @@ public struct AppleAdsAttribution : Swift.Codable, Swift.Equatable, Swift.Sendab
|
|
|
159
146
|
public let impressionDate: Swift.String?
|
|
160
147
|
public let conversionType: Swift.String?
|
|
161
148
|
public let supplyPlacement: Swift.String?
|
|
162
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
163
149
|
public init(campaignId: Swift.String, orgId: Swift.String? = nil, adGroupId: Swift.String? = nil, keywordId: Swift.String? = nil, adId: Swift.String? = nil, countryOrRegion: Swift.String? = nil, claimType: Swift.String? = nil, clickDate: Swift.String? = nil, impressionDate: Swift.String? = nil, conversionType: Swift.String? = nil, supplyPlacement: Swift.String? = nil)
|
|
164
|
-
#endif
|
|
165
150
|
public static func == (a: AppSprintSDK.AppleAdsAttribution, b: AppSprintSDK.AppleAdsAttribution) -> Swift.Bool
|
|
166
151
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
167
152
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -182,17 +167,11 @@ public struct AttributionResult : Swift.Codable, Swift.Equatable, Swift.Sendable
|
|
|
182
167
|
public var confidence: Swift.Double {
|
|
183
168
|
get
|
|
184
169
|
}
|
|
185
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
186
170
|
public var campaignName: Swift.String? {
|
|
187
171
|
get
|
|
188
172
|
}
|
|
189
|
-
#endif
|
|
190
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
191
173
|
public init(source: Swift.String, confidence: Swift.Double, campaignName: Swift.String? = nil, utmSource: Swift.String? = nil, utmMedium: Swift.String? = nil, utmCampaign: Swift.String? = nil)
|
|
192
|
-
#endif
|
|
193
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
194
174
|
public init(isAttributed: Swift.Bool, source: Swift.String? = nil, matchType: Swift.String? = nil, link: AppSprintSDK.AttributionLink? = nil, appleAds: AppSprintSDK.AppleAdsAttribution? = nil, utmSource: Swift.String? = nil, utmMedium: Swift.String? = nil, utmCampaign: Swift.String? = nil, utmContent: Swift.String? = nil, utmTerm: Swift.String? = nil)
|
|
195
|
-
#endif
|
|
196
175
|
public static func == (a: AppSprintSDK.AttributionResult, b: AppSprintSDK.AttributionResult) -> Swift.Bool
|
|
197
176
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
198
177
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -202,9 +181,7 @@ public struct InstallResponse : Swift.Codable, Swift.Sendable {
|
|
|
202
181
|
public let installId: Swift.String?
|
|
203
182
|
public let attribution: AppSprintSDK.AttributionResult
|
|
204
183
|
public let attributionParams: [Swift.String : Swift.String]?
|
|
205
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
206
184
|
public init(appsprintId: Swift.String, installId: Swift.String? = nil, attribution: AppSprintSDK.AttributionResult, attributionParams: [Swift.String : Swift.String]? = nil)
|
|
207
|
-
#endif
|
|
208
185
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
209
186
|
public init(from decoder: any Swift.Decoder) throws
|
|
210
187
|
}
|
|
@@ -254,9 +231,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
254
231
|
public let idfa: Swift.String?
|
|
255
232
|
public let adServicesToken: Swift.String?
|
|
256
233
|
public let attStatus: AppSprintSDK.AppSprintAttStatus?
|
|
257
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
258
234
|
public init(deviceModel: Swift.String? = nil, screenWidth: Swift.Int? = nil, screenHeight: Swift.Int? = nil, nativeScreenWidth: Swift.Int? = nil, nativeScreenHeight: Swift.Int? = nil, screenScale: Swift.Double? = nil, hardwareConcurrency: Swift.Int? = nil, processorCount: Swift.Int? = nil, maxTouchPoints: Swift.Int? = nil, memoryGb: Swift.Int? = nil, lowPowerMode: Swift.Bool? = nil, batteryState: Swift.String? = nil, batteryLevelBucket: Swift.String? = nil, preferredLanguages: [Swift.String]? = nil, timezoneOffsetMinutes: Swift.Int? = nil, deviceManufacturer: Swift.String? = nil, deviceBrand: Swift.String? = nil, deviceProduct: Swift.String? = nil, deviceHardware: Swift.String? = nil, gpuVendor: Swift.String? = nil, gpuRenderer: Swift.String? = nil, connectionType: Swift.String? = nil, networkType: Swift.String? = nil, colorScheme: Swift.String? = nil, carrierName: Swift.String? = nil, carrierCountryCode: Swift.String? = nil, mobileCountryCode: Swift.String? = nil, mobileNetworkCode: Swift.String? = nil, sdkPlatform: Swift.String? = nil, sdkVersion: Swift.String? = nil, sdkWebViewUserAgent: Swift.String? = nil, locale: Swift.String? = nil, timezone: Swift.String? = nil, osVersion: Swift.String? = nil, appVersion: Swift.String? = nil, idfv: Swift.String? = nil, idfa: Swift.String? = nil, adServicesToken: Swift.String? = nil, attStatus: AppSprintSDK.AppSprintAttStatus? = nil)
|
|
259
|
-
#endif
|
|
260
235
|
public static func == (a: AppSprintSDK.DeviceInfo, b: AppSprintSDK.DeviceInfo) -> Swift.Bool
|
|
261
236
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
262
237
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -265,9 +240,7 @@ public enum GoogleAdsConsentStatus : Swift.String, Swift.Codable, Swift.Sendable
|
|
|
265
240
|
case granted
|
|
266
241
|
case denied
|
|
267
242
|
case unspecified
|
|
268
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
269
243
|
public init?(rawValue: Swift.String)
|
|
270
|
-
#endif
|
|
271
244
|
public typealias RawValue = Swift.String
|
|
272
245
|
public var rawValue: Swift.String {
|
|
273
246
|
get
|
|
@@ -292,6 +265,7 @@ public struct AnySendable : @unchecked Swift.Sendable, Swift.Equatable {
|
|
|
292
265
|
public static func == (lhs: AppSprintSDK.AnySendable, rhs: AppSprintSDK.AnySendable) -> Swift.Bool
|
|
293
266
|
}
|
|
294
267
|
extension AppSprintSDK.AppSprint : Swift.Sendable {}
|
|
268
|
+
extension AppSprintSDK.AppSprintAppleAds : Swift.Sendable {}
|
|
295
269
|
extension AppSprintSDK.AppSprintAttStatus : Swift.Equatable {}
|
|
296
270
|
extension AppSprintSDK.AppSprintAttStatus : Swift.Hashable {}
|
|
297
271
|
extension AppSprintSDK.AppSprintAttStatus : Swift.RawRepresentable {}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -
|
|
4
|
-
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -module-name AppSprintSDK -package-name appsprint_ios
|
|
4
|
+
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
|
|
5
5
|
import AdServices
|
|
6
6
|
import AdSupport
|
|
7
7
|
import AppTrackingTransparency
|
|
@@ -27,30 +27,30 @@ import os
|
|
|
27
27
|
}
|
|
28
28
|
@_Concurrency.MainActor public init()
|
|
29
29
|
@_Concurrency.MainActor final public func configure(_ config: AppSprintSDK.AppSprintConfig) async
|
|
30
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
31
30
|
@_Concurrency.MainActor final public func sendEvent(_ eventType: AppSprintSDK.AppSprintEventType, name: Swift.String? = nil, params: [Swift.String : Any]? = nil) async
|
|
32
|
-
#endif
|
|
33
31
|
@_Concurrency.MainActor final public func flush() async
|
|
34
32
|
@_Concurrency.MainActor final public func clearData()
|
|
35
33
|
@_Concurrency.MainActor final public func isSdkDisabled() -> Swift.Bool
|
|
36
34
|
@_Concurrency.MainActor final public func setCustomerUserId(_ userId: Swift.String) async
|
|
37
35
|
@_Concurrency.MainActor final public func sendTestEvent() async -> AppSprintSDK.TestEventResult
|
|
38
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
39
36
|
@_Concurrency.MainActor final public func getAppSprintId() -> Swift.String?
|
|
40
|
-
#endif
|
|
41
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
42
37
|
@_Concurrency.MainActor final public func getAttribution() -> AppSprintSDK.AttributionResult?
|
|
43
|
-
#endif
|
|
44
38
|
@_Concurrency.MainActor final public func getAttributionParams() -> [Swift.String : Swift.String]
|
|
45
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
46
39
|
@discardableResult
|
|
47
40
|
@_Concurrency.MainActor final public func refreshAttribution() async -> AppSprintSDK.AttributionResult?
|
|
48
|
-
#endif
|
|
49
41
|
@discardableResult
|
|
50
42
|
@_Concurrency.MainActor final public func enableAppleAdsAttribution() -> Swift.Bool
|
|
51
43
|
@_Concurrency.MainActor final public func destroy()
|
|
52
44
|
@objc deinit
|
|
53
45
|
}
|
|
46
|
+
@_Concurrency.MainActor public enum AppSprintAppleAds {
|
|
47
|
+
@_Concurrency.MainActor public static func configure(apiKey: Swift.String, apiURL: Foundation.URL? = nil, isDebug: Swift.Bool = false) async
|
|
48
|
+
@_Concurrency.MainActor public static func getAppSprintId() -> Swift.String?
|
|
49
|
+
@_Concurrency.MainActor public static func getAttributionParams() -> [Swift.String : Swift.String]
|
|
50
|
+
@_Concurrency.MainActor public static func getAttribution() -> AppSprintSDK.AttributionResult?
|
|
51
|
+
@discardableResult
|
|
52
|
+
@_Concurrency.MainActor public static func refreshAttribution() async -> AppSprintSDK.AttributionResult?
|
|
53
|
+
}
|
|
54
54
|
public struct AppSprintConfig : Swift.Sendable {
|
|
55
55
|
public static let defaultAPIURL: Foundation.URL
|
|
56
56
|
public var apiKey: Swift.String
|
|
@@ -61,24 +61,17 @@ public struct AppSprintConfig : Swift.Sendable {
|
|
|
61
61
|
public var customerUserId: Swift.String?
|
|
62
62
|
public var autoTrackSessions: Swift.Bool
|
|
63
63
|
public var autoRefreshAttribution: Swift.Bool
|
|
64
|
+
public var eventTrackingEnabled: Swift.Bool
|
|
64
65
|
public var googleAdsConsent: AppSprintSDK.GoogleAdsConsent?
|
|
65
|
-
|
|
66
|
-
public init(apiKey: Swift.String, apiURL: Foundation.URL = AppSprintConfig.defaultAPIURL, enableAppleAdsAttribution: Swift.Bool = true, isDebug: Swift.Bool = false, logLevel: AppSprintSDK.AppSprintLogLevel = .warn, customerUserId: Swift.String? = nil, autoTrackSessions: Swift.Bool = true, autoRefreshAttribution: Swift.Bool = true, googleAdsConsent: AppSprintSDK.GoogleAdsConsent? = nil)
|
|
67
|
-
#endif
|
|
66
|
+
public init(apiKey: Swift.String, apiURL: Foundation.URL = AppSprintConfig.defaultAPIURL, enableAppleAdsAttribution: Swift.Bool = true, isDebug: Swift.Bool = false, logLevel: AppSprintSDK.AppSprintLogLevel = .warn, customerUserId: Swift.String? = nil, autoTrackSessions: Swift.Bool = true, autoRefreshAttribution: Swift.Bool = true, eventTrackingEnabled: Swift.Bool = true, googleAdsConsent: AppSprintSDK.GoogleAdsConsent? = nil)
|
|
68
67
|
}
|
|
69
68
|
public enum AppSprintNative {
|
|
70
69
|
@_Concurrency.MainActor public static func getDeviceInfo() -> AppSprintSDK.DeviceInfo
|
|
71
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
72
70
|
public static func getAdServicesToken() -> Swift.String?
|
|
73
|
-
#endif
|
|
74
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
75
71
|
@_Concurrency.MainActor public static func getWebViewUserAgent() async -> Swift.String?
|
|
76
|
-
#endif
|
|
77
72
|
@_Concurrency.MainActor public static func requestTrackingAuthorization() async -> Swift.Bool
|
|
78
73
|
public static func storageSet(_ key: Swift.String, value: Swift.String)
|
|
79
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
80
74
|
public static func storageGet(_ key: Swift.String) -> Swift.String?
|
|
81
|
-
#endif
|
|
82
75
|
public static func storageRemove(_ key: Swift.String)
|
|
83
76
|
}
|
|
84
77
|
public enum AppSprintLogLevel : Swift.Int, Swift.Codable, Swift.Sendable {
|
|
@@ -86,9 +79,7 @@ public enum AppSprintLogLevel : Swift.Int, Swift.Codable, Swift.Sendable {
|
|
|
86
79
|
case info
|
|
87
80
|
case warn
|
|
88
81
|
case error
|
|
89
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
90
82
|
public init?(rawValue: Swift.Int)
|
|
91
|
-
#endif
|
|
92
83
|
public typealias RawValue = Swift.Int
|
|
93
84
|
public var rawValue: Swift.Int {
|
|
94
85
|
get
|
|
@@ -115,9 +106,7 @@ public enum AppSprintEventType : Swift.String, Swift.Codable, Swift.CaseIterable
|
|
|
115
106
|
case levelStart
|
|
116
107
|
case levelComplete
|
|
117
108
|
case custom
|
|
118
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
119
109
|
public init?(rawValue: Swift.String)
|
|
120
|
-
#endif
|
|
121
110
|
public typealias AllCases = [AppSprintSDK.AppSprintEventType]
|
|
122
111
|
public typealias RawValue = Swift.String
|
|
123
112
|
nonisolated public static var allCases: [AppSprintSDK.AppSprintEventType] {
|
|
@@ -132,9 +121,7 @@ public enum AppSprintAttStatus : Swift.String, Swift.Codable, Swift.Sendable {
|
|
|
132
121
|
case restricted
|
|
133
122
|
case denied
|
|
134
123
|
case authorized
|
|
135
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
136
124
|
public init?(rawValue: Swift.String)
|
|
137
|
-
#endif
|
|
138
125
|
public typealias RawValue = Swift.String
|
|
139
126
|
public var rawValue: Swift.String {
|
|
140
127
|
get
|
|
@@ -159,9 +146,7 @@ public struct AppleAdsAttribution : Swift.Codable, Swift.Equatable, Swift.Sendab
|
|
|
159
146
|
public let impressionDate: Swift.String?
|
|
160
147
|
public let conversionType: Swift.String?
|
|
161
148
|
public let supplyPlacement: Swift.String?
|
|
162
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
163
149
|
public init(campaignId: Swift.String, orgId: Swift.String? = nil, adGroupId: Swift.String? = nil, keywordId: Swift.String? = nil, adId: Swift.String? = nil, countryOrRegion: Swift.String? = nil, claimType: Swift.String? = nil, clickDate: Swift.String? = nil, impressionDate: Swift.String? = nil, conversionType: Swift.String? = nil, supplyPlacement: Swift.String? = nil)
|
|
164
|
-
#endif
|
|
165
150
|
public static func == (a: AppSprintSDK.AppleAdsAttribution, b: AppSprintSDK.AppleAdsAttribution) -> Swift.Bool
|
|
166
151
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
167
152
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -182,17 +167,11 @@ public struct AttributionResult : Swift.Codable, Swift.Equatable, Swift.Sendable
|
|
|
182
167
|
public var confidence: Swift.Double {
|
|
183
168
|
get
|
|
184
169
|
}
|
|
185
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
186
170
|
public var campaignName: Swift.String? {
|
|
187
171
|
get
|
|
188
172
|
}
|
|
189
|
-
#endif
|
|
190
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
191
173
|
public init(source: Swift.String, confidence: Swift.Double, campaignName: Swift.String? = nil, utmSource: Swift.String? = nil, utmMedium: Swift.String? = nil, utmCampaign: Swift.String? = nil)
|
|
192
|
-
#endif
|
|
193
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
194
174
|
public init(isAttributed: Swift.Bool, source: Swift.String? = nil, matchType: Swift.String? = nil, link: AppSprintSDK.AttributionLink? = nil, appleAds: AppSprintSDK.AppleAdsAttribution? = nil, utmSource: Swift.String? = nil, utmMedium: Swift.String? = nil, utmCampaign: Swift.String? = nil, utmContent: Swift.String? = nil, utmTerm: Swift.String? = nil)
|
|
195
|
-
#endif
|
|
196
175
|
public static func == (a: AppSprintSDK.AttributionResult, b: AppSprintSDK.AttributionResult) -> Swift.Bool
|
|
197
176
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
198
177
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -202,9 +181,7 @@ public struct InstallResponse : Swift.Codable, Swift.Sendable {
|
|
|
202
181
|
public let installId: Swift.String?
|
|
203
182
|
public let attribution: AppSprintSDK.AttributionResult
|
|
204
183
|
public let attributionParams: [Swift.String : Swift.String]?
|
|
205
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
206
184
|
public init(appsprintId: Swift.String, installId: Swift.String? = nil, attribution: AppSprintSDK.AttributionResult, attributionParams: [Swift.String : Swift.String]? = nil)
|
|
207
|
-
#endif
|
|
208
185
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
209
186
|
public init(from decoder: any Swift.Decoder) throws
|
|
210
187
|
}
|
|
@@ -254,9 +231,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
254
231
|
public let idfa: Swift.String?
|
|
255
232
|
public let adServicesToken: Swift.String?
|
|
256
233
|
public let attStatus: AppSprintSDK.AppSprintAttStatus?
|
|
257
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
258
234
|
public init(deviceModel: Swift.String? = nil, screenWidth: Swift.Int? = nil, screenHeight: Swift.Int? = nil, nativeScreenWidth: Swift.Int? = nil, nativeScreenHeight: Swift.Int? = nil, screenScale: Swift.Double? = nil, hardwareConcurrency: Swift.Int? = nil, processorCount: Swift.Int? = nil, maxTouchPoints: Swift.Int? = nil, memoryGb: Swift.Int? = nil, lowPowerMode: Swift.Bool? = nil, batteryState: Swift.String? = nil, batteryLevelBucket: Swift.String? = nil, preferredLanguages: [Swift.String]? = nil, timezoneOffsetMinutes: Swift.Int? = nil, deviceManufacturer: Swift.String? = nil, deviceBrand: Swift.String? = nil, deviceProduct: Swift.String? = nil, deviceHardware: Swift.String? = nil, gpuVendor: Swift.String? = nil, gpuRenderer: Swift.String? = nil, connectionType: Swift.String? = nil, networkType: Swift.String? = nil, colorScheme: Swift.String? = nil, carrierName: Swift.String? = nil, carrierCountryCode: Swift.String? = nil, mobileCountryCode: Swift.String? = nil, mobileNetworkCode: Swift.String? = nil, sdkPlatform: Swift.String? = nil, sdkVersion: Swift.String? = nil, sdkWebViewUserAgent: Swift.String? = nil, locale: Swift.String? = nil, timezone: Swift.String? = nil, osVersion: Swift.String? = nil, appVersion: Swift.String? = nil, idfv: Swift.String? = nil, idfa: Swift.String? = nil, adServicesToken: Swift.String? = nil, attStatus: AppSprintSDK.AppSprintAttStatus? = nil)
|
|
259
|
-
#endif
|
|
260
235
|
public static func == (a: AppSprintSDK.DeviceInfo, b: AppSprintSDK.DeviceInfo) -> Swift.Bool
|
|
261
236
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
262
237
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -265,9 +240,7 @@ public enum GoogleAdsConsentStatus : Swift.String, Swift.Codable, Swift.Sendable
|
|
|
265
240
|
case granted
|
|
266
241
|
case denied
|
|
267
242
|
case unspecified
|
|
268
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
269
243
|
public init?(rawValue: Swift.String)
|
|
270
|
-
#endif
|
|
271
244
|
public typealias RawValue = Swift.String
|
|
272
245
|
public var rawValue: Swift.String {
|
|
273
246
|
get
|
|
@@ -292,6 +265,7 @@ public struct AnySendable : @unchecked Swift.Sendable, Swift.Equatable {
|
|
|
292
265
|
public static func == (lhs: AppSprintSDK.AnySendable, rhs: AppSprintSDK.AnySendable) -> Swift.Bool
|
|
293
266
|
}
|
|
294
267
|
extension AppSprintSDK.AppSprint : Swift.Sendable {}
|
|
268
|
+
extension AppSprintSDK.AppSprintAppleAds : Swift.Sendable {}
|
|
295
269
|
extension AppSprintSDK.AppSprintAttStatus : Swift.Equatable {}
|
|
296
270
|
extension AppSprintSDK.AppSprintAttStatus : Swift.Hashable {}
|
|
297
271
|
extension AppSprintSDK.AppSprintAttStatus : Swift.RawRepresentable {}
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -
|
|
4
|
-
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -O -enable-experimental-feature DebugDescriptionMacro -module-name AppSprintSDK -package-name appsprint_ios
|
|
4
|
+
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.3.1
|
|
5
5
|
import AdServices
|
|
6
6
|
import AdSupport
|
|
7
7
|
import AppTrackingTransparency
|
|
@@ -27,30 +27,30 @@ import os
|
|
|
27
27
|
}
|
|
28
28
|
@_Concurrency.MainActor public init()
|
|
29
29
|
@_Concurrency.MainActor final public func configure(_ config: AppSprintSDK.AppSprintConfig) async
|
|
30
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
31
30
|
@_Concurrency.MainActor final public func sendEvent(_ eventType: AppSprintSDK.AppSprintEventType, name: Swift.String? = nil, params: [Swift.String : Any]? = nil) async
|
|
32
|
-
#endif
|
|
33
31
|
@_Concurrency.MainActor final public func flush() async
|
|
34
32
|
@_Concurrency.MainActor final public func clearData()
|
|
35
33
|
@_Concurrency.MainActor final public func isSdkDisabled() -> Swift.Bool
|
|
36
34
|
@_Concurrency.MainActor final public func setCustomerUserId(_ userId: Swift.String) async
|
|
37
35
|
@_Concurrency.MainActor final public func sendTestEvent() async -> AppSprintSDK.TestEventResult
|
|
38
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
39
36
|
@_Concurrency.MainActor final public func getAppSprintId() -> Swift.String?
|
|
40
|
-
#endif
|
|
41
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
42
37
|
@_Concurrency.MainActor final public func getAttribution() -> AppSprintSDK.AttributionResult?
|
|
43
|
-
#endif
|
|
44
38
|
@_Concurrency.MainActor final public func getAttributionParams() -> [Swift.String : Swift.String]
|
|
45
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
46
39
|
@discardableResult
|
|
47
40
|
@_Concurrency.MainActor final public func refreshAttribution() async -> AppSprintSDK.AttributionResult?
|
|
48
|
-
#endif
|
|
49
41
|
@discardableResult
|
|
50
42
|
@_Concurrency.MainActor final public func enableAppleAdsAttribution() -> Swift.Bool
|
|
51
43
|
@_Concurrency.MainActor final public func destroy()
|
|
52
44
|
@objc deinit
|
|
53
45
|
}
|
|
46
|
+
@_Concurrency.MainActor public enum AppSprintAppleAds {
|
|
47
|
+
@_Concurrency.MainActor public static func configure(apiKey: Swift.String, apiURL: Foundation.URL? = nil, isDebug: Swift.Bool = false) async
|
|
48
|
+
@_Concurrency.MainActor public static func getAppSprintId() -> Swift.String?
|
|
49
|
+
@_Concurrency.MainActor public static func getAttributionParams() -> [Swift.String : Swift.String]
|
|
50
|
+
@_Concurrency.MainActor public static func getAttribution() -> AppSprintSDK.AttributionResult?
|
|
51
|
+
@discardableResult
|
|
52
|
+
@_Concurrency.MainActor public static func refreshAttribution() async -> AppSprintSDK.AttributionResult?
|
|
53
|
+
}
|
|
54
54
|
public struct AppSprintConfig : Swift.Sendable {
|
|
55
55
|
public static let defaultAPIURL: Foundation.URL
|
|
56
56
|
public var apiKey: Swift.String
|
|
@@ -61,24 +61,17 @@ public struct AppSprintConfig : Swift.Sendable {
|
|
|
61
61
|
public var customerUserId: Swift.String?
|
|
62
62
|
public var autoTrackSessions: Swift.Bool
|
|
63
63
|
public var autoRefreshAttribution: Swift.Bool
|
|
64
|
+
public var eventTrackingEnabled: Swift.Bool
|
|
64
65
|
public var googleAdsConsent: AppSprintSDK.GoogleAdsConsent?
|
|
65
|
-
|
|
66
|
-
public init(apiKey: Swift.String, apiURL: Foundation.URL = AppSprintConfig.defaultAPIURL, enableAppleAdsAttribution: Swift.Bool = true, isDebug: Swift.Bool = false, logLevel: AppSprintSDK.AppSprintLogLevel = .warn, customerUserId: Swift.String? = nil, autoTrackSessions: Swift.Bool = true, autoRefreshAttribution: Swift.Bool = true, googleAdsConsent: AppSprintSDK.GoogleAdsConsent? = nil)
|
|
67
|
-
#endif
|
|
66
|
+
public init(apiKey: Swift.String, apiURL: Foundation.URL = AppSprintConfig.defaultAPIURL, enableAppleAdsAttribution: Swift.Bool = true, isDebug: Swift.Bool = false, logLevel: AppSprintSDK.AppSprintLogLevel = .warn, customerUserId: Swift.String? = nil, autoTrackSessions: Swift.Bool = true, autoRefreshAttribution: Swift.Bool = true, eventTrackingEnabled: Swift.Bool = true, googleAdsConsent: AppSprintSDK.GoogleAdsConsent? = nil)
|
|
68
67
|
}
|
|
69
68
|
public enum AppSprintNative {
|
|
70
69
|
@_Concurrency.MainActor public static func getDeviceInfo() -> AppSprintSDK.DeviceInfo
|
|
71
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
72
70
|
public static func getAdServicesToken() -> Swift.String?
|
|
73
|
-
#endif
|
|
74
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
75
71
|
@_Concurrency.MainActor public static func getWebViewUserAgent() async -> Swift.String?
|
|
76
|
-
#endif
|
|
77
72
|
@_Concurrency.MainActor public static func requestTrackingAuthorization() async -> Swift.Bool
|
|
78
73
|
public static func storageSet(_ key: Swift.String, value: Swift.String)
|
|
79
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
80
74
|
public static func storageGet(_ key: Swift.String) -> Swift.String?
|
|
81
|
-
#endif
|
|
82
75
|
public static func storageRemove(_ key: Swift.String)
|
|
83
76
|
}
|
|
84
77
|
public enum AppSprintLogLevel : Swift.Int, Swift.Codable, Swift.Sendable {
|
|
@@ -86,9 +79,7 @@ public enum AppSprintLogLevel : Swift.Int, Swift.Codable, Swift.Sendable {
|
|
|
86
79
|
case info
|
|
87
80
|
case warn
|
|
88
81
|
case error
|
|
89
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
90
82
|
public init?(rawValue: Swift.Int)
|
|
91
|
-
#endif
|
|
92
83
|
public typealias RawValue = Swift.Int
|
|
93
84
|
public var rawValue: Swift.Int {
|
|
94
85
|
get
|
|
@@ -115,9 +106,7 @@ public enum AppSprintEventType : Swift.String, Swift.Codable, Swift.CaseIterable
|
|
|
115
106
|
case levelStart
|
|
116
107
|
case levelComplete
|
|
117
108
|
case custom
|
|
118
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
119
109
|
public init?(rawValue: Swift.String)
|
|
120
|
-
#endif
|
|
121
110
|
public typealias AllCases = [AppSprintSDK.AppSprintEventType]
|
|
122
111
|
public typealias RawValue = Swift.String
|
|
123
112
|
nonisolated public static var allCases: [AppSprintSDK.AppSprintEventType] {
|
|
@@ -132,9 +121,7 @@ public enum AppSprintAttStatus : Swift.String, Swift.Codable, Swift.Sendable {
|
|
|
132
121
|
case restricted
|
|
133
122
|
case denied
|
|
134
123
|
case authorized
|
|
135
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
136
124
|
public init?(rawValue: Swift.String)
|
|
137
|
-
#endif
|
|
138
125
|
public typealias RawValue = Swift.String
|
|
139
126
|
public var rawValue: Swift.String {
|
|
140
127
|
get
|
|
@@ -159,9 +146,7 @@ public struct AppleAdsAttribution : Swift.Codable, Swift.Equatable, Swift.Sendab
|
|
|
159
146
|
public let impressionDate: Swift.String?
|
|
160
147
|
public let conversionType: Swift.String?
|
|
161
148
|
public let supplyPlacement: Swift.String?
|
|
162
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
163
149
|
public init(campaignId: Swift.String, orgId: Swift.String? = nil, adGroupId: Swift.String? = nil, keywordId: Swift.String? = nil, adId: Swift.String? = nil, countryOrRegion: Swift.String? = nil, claimType: Swift.String? = nil, clickDate: Swift.String? = nil, impressionDate: Swift.String? = nil, conversionType: Swift.String? = nil, supplyPlacement: Swift.String? = nil)
|
|
164
|
-
#endif
|
|
165
150
|
public static func == (a: AppSprintSDK.AppleAdsAttribution, b: AppSprintSDK.AppleAdsAttribution) -> Swift.Bool
|
|
166
151
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
167
152
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -182,17 +167,11 @@ public struct AttributionResult : Swift.Codable, Swift.Equatable, Swift.Sendable
|
|
|
182
167
|
public var confidence: Swift.Double {
|
|
183
168
|
get
|
|
184
169
|
}
|
|
185
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
186
170
|
public var campaignName: Swift.String? {
|
|
187
171
|
get
|
|
188
172
|
}
|
|
189
|
-
#endif
|
|
190
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
191
173
|
public init(source: Swift.String, confidence: Swift.Double, campaignName: Swift.String? = nil, utmSource: Swift.String? = nil, utmMedium: Swift.String? = nil, utmCampaign: Swift.String? = nil)
|
|
192
|
-
#endif
|
|
193
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
194
174
|
public init(isAttributed: Swift.Bool, source: Swift.String? = nil, matchType: Swift.String? = nil, link: AppSprintSDK.AttributionLink? = nil, appleAds: AppSprintSDK.AppleAdsAttribution? = nil, utmSource: Swift.String? = nil, utmMedium: Swift.String? = nil, utmCampaign: Swift.String? = nil, utmContent: Swift.String? = nil, utmTerm: Swift.String? = nil)
|
|
195
|
-
#endif
|
|
196
175
|
public static func == (a: AppSprintSDK.AttributionResult, b: AppSprintSDK.AttributionResult) -> Swift.Bool
|
|
197
176
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
198
177
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -202,9 +181,7 @@ public struct InstallResponse : Swift.Codable, Swift.Sendable {
|
|
|
202
181
|
public let installId: Swift.String?
|
|
203
182
|
public let attribution: AppSprintSDK.AttributionResult
|
|
204
183
|
public let attributionParams: [Swift.String : Swift.String]?
|
|
205
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
206
184
|
public init(appsprintId: Swift.String, installId: Swift.String? = nil, attribution: AppSprintSDK.AttributionResult, attributionParams: [Swift.String : Swift.String]? = nil)
|
|
207
|
-
#endif
|
|
208
185
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
209
186
|
public init(from decoder: any Swift.Decoder) throws
|
|
210
187
|
}
|
|
@@ -254,9 +231,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
254
231
|
public let idfa: Swift.String?
|
|
255
232
|
public let adServicesToken: Swift.String?
|
|
256
233
|
public let attStatus: AppSprintSDK.AppSprintAttStatus?
|
|
257
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
258
234
|
public init(deviceModel: Swift.String? = nil, screenWidth: Swift.Int? = nil, screenHeight: Swift.Int? = nil, nativeScreenWidth: Swift.Int? = nil, nativeScreenHeight: Swift.Int? = nil, screenScale: Swift.Double? = nil, hardwareConcurrency: Swift.Int? = nil, processorCount: Swift.Int? = nil, maxTouchPoints: Swift.Int? = nil, memoryGb: Swift.Int? = nil, lowPowerMode: Swift.Bool? = nil, batteryState: Swift.String? = nil, batteryLevelBucket: Swift.String? = nil, preferredLanguages: [Swift.String]? = nil, timezoneOffsetMinutes: Swift.Int? = nil, deviceManufacturer: Swift.String? = nil, deviceBrand: Swift.String? = nil, deviceProduct: Swift.String? = nil, deviceHardware: Swift.String? = nil, gpuVendor: Swift.String? = nil, gpuRenderer: Swift.String? = nil, connectionType: Swift.String? = nil, networkType: Swift.String? = nil, colorScheme: Swift.String? = nil, carrierName: Swift.String? = nil, carrierCountryCode: Swift.String? = nil, mobileCountryCode: Swift.String? = nil, mobileNetworkCode: Swift.String? = nil, sdkPlatform: Swift.String? = nil, sdkVersion: Swift.String? = nil, sdkWebViewUserAgent: Swift.String? = nil, locale: Swift.String? = nil, timezone: Swift.String? = nil, osVersion: Swift.String? = nil, appVersion: Swift.String? = nil, idfv: Swift.String? = nil, idfa: Swift.String? = nil, adServicesToken: Swift.String? = nil, attStatus: AppSprintSDK.AppSprintAttStatus? = nil)
|
|
259
|
-
#endif
|
|
260
235
|
public static func == (a: AppSprintSDK.DeviceInfo, b: AppSprintSDK.DeviceInfo) -> Swift.Bool
|
|
261
236
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
262
237
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -265,9 +240,7 @@ public enum GoogleAdsConsentStatus : Swift.String, Swift.Codable, Swift.Sendable
|
|
|
265
240
|
case granted
|
|
266
241
|
case denied
|
|
267
242
|
case unspecified
|
|
268
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
269
243
|
public init?(rawValue: Swift.String)
|
|
270
|
-
#endif
|
|
271
244
|
public typealias RawValue = Swift.String
|
|
272
245
|
public var rawValue: Swift.String {
|
|
273
246
|
get
|
|
@@ -292,6 +265,7 @@ public struct AnySendable : @unchecked Swift.Sendable, Swift.Equatable {
|
|
|
292
265
|
public static func == (lhs: AppSprintSDK.AnySendable, rhs: AppSprintSDK.AnySendable) -> Swift.Bool
|
|
293
266
|
}
|
|
294
267
|
extension AppSprintSDK.AppSprint : Swift.Sendable {}
|
|
268
|
+
extension AppSprintSDK.AppSprintAppleAds : Swift.Sendable {}
|
|
295
269
|
extension AppSprintSDK.AppSprintAttStatus : Swift.Equatable {}
|
|
296
270
|
extension AppSprintSDK.AppSprintAttStatus : Swift.Hashable {}
|
|
297
271
|
extension AppSprintSDK.AppSprintAttStatus : Swift.RawRepresentable {}
|