@amplitude/plugin-engagement-react-native 3.10.0 → 3.11.0
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/ios/Frameworks/AmplitudeEngagementSwift.xcframework/Info.plist +48 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/AmplitudeEngagementSwift.framework/AmplitudeEngagementSwift +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/AmplitudeEngagementSwift.framework/Apache License.txt +203 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/AmplitudeEngagementSwift.framework/Assets.car +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/AmplitudeEngagementSwift.framework/Info.plist +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/arm64-apple-ios.abi.json +18623 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/arm64-apple-ios.private.swiftinterface +386 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/arm64-apple-ios.swiftinterface +373 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/AmplitudeEngagementSwift.framework/Roboto[ital,wdth,wght].ttf +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/AmplitudeEngagementSwift.framework/engagement.js +26979 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/dSYMs/AmplitudeEngagementSwift.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/dSYMs/AmplitudeEngagementSwift.framework.dSYM/Contents/Resources/DWARF/AmplitudeEngagementSwift +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/dSYMs/AmplitudeEngagementSwift.framework.dSYM/Contents/Resources/Relocations/aarch64/AmplitudeEngagementSwift.yml +11958 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64/dSYMs/AmplitudeEngagementSwift.framework.dSYM/Contents/Resources/Swift/aarch64/AmplitudeCore.swiftinterface +268 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/AmplitudeEngagementSwift +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Apache License.txt +203 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Assets.car +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Info.plist +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/arm64-apple-ios-simulator.abi.json +18623 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +386 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/arm64-apple-ios-simulator.swiftinterface +373 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/x86_64-apple-ios-simulator.abi.json +18623 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +386 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Modules/AmplitudeEngagementSwift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +373 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/Roboto[ital,wdth,wght].ttf +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/_CodeSignature/CodeResources +256 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/AmplitudeEngagementSwift.framework/engagement.js +26979 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/dSYMs/AmplitudeEngagementSwift.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/dSYMs/AmplitudeEngagementSwift.framework.dSYM/Contents/Resources/DWARF/AmplitudeEngagementSwift +0 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/dSYMs/AmplitudeEngagementSwift.framework.dSYM/Contents/Resources/Relocations/aarch64/AmplitudeEngagementSwift.yml +11958 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/dSYMs/AmplitudeEngagementSwift.framework.dSYM/Contents/Resources/Relocations/x86_64/AmplitudeEngagementSwift.yml +11888 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/dSYMs/AmplitudeEngagementSwift.framework.dSYM/Contents/Resources/Swift/aarch64/AmplitudeCore.swiftinterface +268 -0
- package/ios/Frameworks/AmplitudeEngagementSwift.xcframework/ios-arm64_x86_64-simulator/dSYMs/AmplitudeEngagementSwift.framework.dSYM/Contents/Resources/Swift/x86_64/AmplitudeCore.swiftinterface +268 -0
- package/ios/Frameworks/CQuickJS.xcframework/Info.plist +44 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64/CQuickJS.framework/CQuickJS +0 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64/CQuickJS.framework/Headers/quickjs-libc.h +66 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64/CQuickJS.framework/Headers/quickjs.h +1168 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64/CQuickJS.framework/Info.plist +0 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64/CQuickJS.framework/Modules/module.modulemap +7 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64/CQuickJS.framework/VERSION +1 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64_x86_64-simulator/CQuickJS.framework/CQuickJS +0 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64_x86_64-simulator/CQuickJS.framework/Headers/quickjs-libc.h +66 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64_x86_64-simulator/CQuickJS.framework/Headers/quickjs.h +1168 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64_x86_64-simulator/CQuickJS.framework/Info.plist +0 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64_x86_64-simulator/CQuickJS.framework/Modules/module.modulemap +7 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64_x86_64-simulator/CQuickJS.framework/VERSION +1 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64_x86_64-simulator/CQuickJS.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64_x86_64-simulator/CQuickJS.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64_x86_64-simulator/CQuickJS.framework/_CodeSignature/CodeResources +146 -0
- package/ios/Frameworks/CQuickJS.xcframework/ios-arm64_x86_64-simulator/CQuickJS.framework/_CodeSignature/CodeSignature +0 -0
- package/lib/module/build-version-android.json +1 -1
- package/lib/module/build-version-ios.json +1 -1
- package/lib/module/build-version.json +1 -1
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/AmplitudeEngagement.d.ts +20 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/AmplitudeEngagement.d.ts.map +1 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/AmplitudeEngagementPlugin.d.ts +25 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/AmplitudeEngagementPlugin.d.ts.map +1 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/NativePluginEngagementReactNative.d.ts +32 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/NativePluginEngagementReactNative.d.ts.map +1 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/constants.d.ts +7 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/constants.d.ts.map +1 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/index.d.ts +17 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/index.d.ts.map +1 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/logger.d.ts +28 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/logger.d.ts.map +1 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/types.d.ts +31 -0
- package/lib/typescript/__npmjs__@amplitude_plugin-engagement-react-native/package/src/types.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/build-version-android.json +1 -1
- package/src/build-version-ios.json +1 -1
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name AmplitudeEngagementSwift
|
|
4
|
+
// swift-module-flags-ignorable: -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
|
|
5
|
+
import AVKit
|
|
6
|
+
import AmplitudeCore
|
|
7
|
+
import Combine
|
|
8
|
+
import DeveloperToolsSupport
|
|
9
|
+
import Foundation
|
|
10
|
+
import Foundation/*.Bundle*/
|
|
11
|
+
import Foundation/*.ProcessInfo*/
|
|
12
|
+
import Foundation/*.URL*/
|
|
13
|
+
import MessageUI
|
|
14
|
+
import OSLog
|
|
15
|
+
import SafariServices
|
|
16
|
+
import Security
|
|
17
|
+
import StoreKit
|
|
18
|
+
import Swift
|
|
19
|
+
import SwiftUI
|
|
20
|
+
import UIKit
|
|
21
|
+
import WebKit
|
|
22
|
+
import _AVKit_SwiftUI
|
|
23
|
+
import _Concurrency
|
|
24
|
+
import _StoreKit_SwiftUI
|
|
25
|
+
import _StringProcessing
|
|
26
|
+
import _SwiftConcurrencyShims
|
|
27
|
+
import _WebKit_SwiftUI
|
|
28
|
+
public enum AmplitudeEngagementError : Swift.Error {
|
|
29
|
+
case networkRequestFailed(Swift.String)
|
|
30
|
+
case httpError(Swift.Int)
|
|
31
|
+
case dataConversionFailed
|
|
32
|
+
case jsExecutionFailed(Swift.String)
|
|
33
|
+
case jsError(Swift.String)
|
|
34
|
+
case promiseRejected(Swift.String)
|
|
35
|
+
case handlerNotFound(Swift.String)
|
|
36
|
+
case invalidParameters(Swift.String)
|
|
37
|
+
case nudgeRenderingFailed(Swift.String)
|
|
38
|
+
case failedToCaptureScreen(_: Swift.String? = nil)
|
|
39
|
+
case jsonSerializationError(Swift.String)
|
|
40
|
+
case unknown(Swift.String)
|
|
41
|
+
}
|
|
42
|
+
@_hasMissingDesignatedInitializers open class BaseEvent : AmplitudeCore.AnalyticsEvent, Swift.Codable {
|
|
43
|
+
public var eventProperties: [Swift.String : Any]?
|
|
44
|
+
public var userId: Swift.String?
|
|
45
|
+
public var deviceId: Swift.String?
|
|
46
|
+
public var timestamp: Swift.Int64?
|
|
47
|
+
public var sessionId: Swift.Int64?
|
|
48
|
+
public var eventType: Swift.String
|
|
49
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
50
|
+
public func encode(to encoder: any Swift.Encoder)
|
|
51
|
+
@objc deinit
|
|
52
|
+
}
|
|
53
|
+
public struct JSON : Swift.Codable {
|
|
54
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
55
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
56
|
+
}
|
|
57
|
+
extension AmplitudeCore.PluginHost {
|
|
58
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
59
|
+
public var engagement: (any AmplitudeEngagementSwift.AmplitudeEngagementPlugin)? {
|
|
60
|
+
get
|
|
61
|
+
}
|
|
62
|
+
#endif
|
|
63
|
+
}
|
|
64
|
+
public enum ThemeMode : Swift.String {
|
|
65
|
+
case auto
|
|
66
|
+
case dark
|
|
67
|
+
case light
|
|
68
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
69
|
+
public init?(rawValue: Swift.String)
|
|
70
|
+
#endif
|
|
71
|
+
public typealias RawValue = Swift.String
|
|
72
|
+
public var rawValue: Swift.String {
|
|
73
|
+
get
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
public enum GuideOrSurveyStatus : Swift.String, Swift.Codable {
|
|
77
|
+
case visible
|
|
78
|
+
case active
|
|
79
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
80
|
+
public init?(rawValue: Swift.String)
|
|
81
|
+
#endif
|
|
82
|
+
public typealias RawValue = Swift.String
|
|
83
|
+
public var rawValue: Swift.String {
|
|
84
|
+
get
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
public struct GuideOrSurvey : Swift.Codable, Swift.Identifiable {
|
|
88
|
+
public var id: Swift.Int
|
|
89
|
+
public var status: AmplitudeEngagementSwift.GuideOrSurveyStatus
|
|
90
|
+
public var step: Swift.Int
|
|
91
|
+
public var title: Swift.String
|
|
92
|
+
public typealias ID = Swift.Int
|
|
93
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
94
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
95
|
+
}
|
|
96
|
+
public struct AnyCodable : Swift.Codable, Swift.Hashable {
|
|
97
|
+
public let value: Any
|
|
98
|
+
public init(_ value: Any)
|
|
99
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
100
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
101
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
102
|
+
public static func == (lhs: AmplitudeEngagementSwift.AnyCodable, rhs: AmplitudeEngagementSwift.AnyCodable) -> Swift.Bool
|
|
103
|
+
public var hashValue: Swift.Int {
|
|
104
|
+
get
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
public enum AmplitudeLogLevel : Swift.Int, Swift.Codable {
|
|
108
|
+
case none
|
|
109
|
+
case error
|
|
110
|
+
case warn
|
|
111
|
+
case verbose
|
|
112
|
+
case debug
|
|
113
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
114
|
+
public init?(rawValue: Swift.Int)
|
|
115
|
+
#endif
|
|
116
|
+
public typealias RawValue = Swift.Int
|
|
117
|
+
public var rawValue: Swift.Int {
|
|
118
|
+
get
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
public protocol AmplitudeLogger : AmplitudeCore.CoreLogger {
|
|
122
|
+
func disable()
|
|
123
|
+
func enable(logLevel: AmplitudeEngagementSwift.AmplitudeLogLevel)
|
|
124
|
+
func log(_ args: Any...)
|
|
125
|
+
func warn(_ args: Any...)
|
|
126
|
+
func error(_ args: Any...)
|
|
127
|
+
func debug(_ args: Any...)
|
|
128
|
+
func debug(_ messageBlock: () -> Swift.String)
|
|
129
|
+
func spy(_ onMessage: @escaping (AmplitudeEngagementSwift.AmplitudeLogLevel, Swift.String) -> Swift.Void) -> () -> Swift.Void
|
|
130
|
+
}
|
|
131
|
+
public enum DebugStatus : Swift.String, Swift.CaseIterable {
|
|
132
|
+
case success
|
|
133
|
+
case warning
|
|
134
|
+
case error
|
|
135
|
+
case info
|
|
136
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
137
|
+
public init?(rawValue: Swift.String)
|
|
138
|
+
#endif
|
|
139
|
+
public typealias AllCases = [AmplitudeEngagementSwift.DebugStatus]
|
|
140
|
+
public typealias RawValue = Swift.String
|
|
141
|
+
nonisolated public static var allCases: [AmplitudeEngagementSwift.DebugStatus] {
|
|
142
|
+
get
|
|
143
|
+
}
|
|
144
|
+
public var rawValue: Swift.String {
|
|
145
|
+
get
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
extension SwiftUICore.View {
|
|
149
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
150
|
+
@_Concurrency.MainActor @preconcurrency public func amplitudeView(_ identifier: Swift.String, onTrigger: (() -> Swift.Void)? = nil) -> some SwiftUICore.View
|
|
151
|
+
|
|
152
|
+
#endif
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
public enum SDKType : Swift.String {
|
|
157
|
+
case reactNative
|
|
158
|
+
case flutter
|
|
159
|
+
case ios
|
|
160
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
161
|
+
public init?(rawValue: Swift.String)
|
|
162
|
+
#endif
|
|
163
|
+
public typealias RawValue = Swift.String
|
|
164
|
+
public var rawValue: Swift.String {
|
|
165
|
+
get
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
public struct DevelopmentPlatform : Swift.Equatable {
|
|
169
|
+
public let sdk: AmplitudeEngagementSwift.SDKType
|
|
170
|
+
public let library: Swift.String
|
|
171
|
+
public let version: Swift.String
|
|
172
|
+
public var rawValue: Swift.String {
|
|
173
|
+
get
|
|
174
|
+
}
|
|
175
|
+
public static func == (lhs: AmplitudeEngagementSwift.DevelopmentPlatform, rhs: AmplitudeEngagementSwift.DevelopmentPlatform) -> Swift.Bool
|
|
176
|
+
public static let ios: AmplitudeEngagementSwift.DevelopmentPlatform
|
|
177
|
+
public static func reactNative(version: Swift.String) -> AmplitudeEngagementSwift.DevelopmentPlatform
|
|
178
|
+
public static func flutter(version: Swift.String) -> AmplitudeEngagementSwift.DevelopmentPlatform
|
|
179
|
+
}
|
|
180
|
+
public enum InstallationType : Swift.String {
|
|
181
|
+
case plugin
|
|
182
|
+
case standalone
|
|
183
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
184
|
+
public init?(rawValue: Swift.String)
|
|
185
|
+
#endif
|
|
186
|
+
public typealias RawValue = Swift.String
|
|
187
|
+
public var rawValue: Swift.String {
|
|
188
|
+
get
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
public protocol AmplitudeEngagementPlugin : AnyObject {
|
|
192
|
+
var config: AmplitudeEngagementSwift.AmplitudeEngagementConfig { get }
|
|
193
|
+
var platform: AmplitudeEngagementSwift.DevelopmentPlatform { get }
|
|
194
|
+
@available(*, deprecated, message: "Use AmplitudeEngagementPluginFactory.make(...) instead (see https://amplitude.com/docs/guides-and-surveys/guides-and-surveys-ios-sdk)")
|
|
195
|
+
func getPlugin() -> any AmplitudeCore.UniversalPlugin
|
|
196
|
+
func handleUrl(_ url: Foundation.URL) -> Swift.Bool
|
|
197
|
+
func enable()
|
|
198
|
+
func disable()
|
|
199
|
+
func refresh()
|
|
200
|
+
func setAutoRefreshInterval(seconds: Swift.Int)
|
|
201
|
+
func setThemeMode(themeMode: AmplitudeEngagementSwift.ThemeMode)
|
|
202
|
+
func setRouter(_ router: @escaping (Swift.String) -> Swift.Void)
|
|
203
|
+
func unsetRouter()
|
|
204
|
+
func reset(key: Swift.String)
|
|
205
|
+
func reset(key: Swift.String, stepIndex: Swift.Int)
|
|
206
|
+
func list() -> [AmplitudeEngagementSwift.GuideOrSurvey]
|
|
207
|
+
func show(key: Swift.String)
|
|
208
|
+
func show(key: Swift.String, stepIndex: Swift.Int)
|
|
209
|
+
func screen(_ screenName: Swift.String)
|
|
210
|
+
func closeAll()
|
|
211
|
+
func forwardEvent(_ eventProperties: [Swift.String : Any])
|
|
212
|
+
func addCallback(_ key: Swift.String, _ function: @escaping () -> Swift.Void)
|
|
213
|
+
func updateLanguage(_ locale: Swift.String)
|
|
214
|
+
func resetSmartInteractions()
|
|
215
|
+
func _setUserProperties(_ userProperties: [Swift.String : Any])
|
|
216
|
+
}
|
|
217
|
+
public protocol AmplitudeEngagement : AmplitudeEngagementSwift.AmplitudeEngagementPlugin {
|
|
218
|
+
func boot(_ user_id: Swift.String)
|
|
219
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
220
|
+
func boot(_ user_id: Swift.String, device_id: Swift.String?)
|
|
221
|
+
#endif
|
|
222
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
223
|
+
func boot(_ user_id: Swift.String, device_id: Swift.String?, autoRefreshIntervalSeconds: Swift.Int)
|
|
224
|
+
#endif
|
|
225
|
+
func boot(options: AmplitudeEngagementSwift.AmplitudeBootOptions)
|
|
226
|
+
func shutdown()
|
|
227
|
+
}
|
|
228
|
+
extension AmplitudeEngagementSwift.AmplitudeEngagement {
|
|
229
|
+
public func boot(_ user_id: Swift.String)
|
|
230
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
231
|
+
public func boot(_ user_id: Swift.String, device_id: Swift.String?)
|
|
232
|
+
#endif
|
|
233
|
+
}
|
|
234
|
+
extension AmplitudeEngagementSwift.AmplitudeEngagementPlugin {
|
|
235
|
+
public func reset(key: Swift.String)
|
|
236
|
+
public func show(key: Swift.String)
|
|
237
|
+
}
|
|
238
|
+
public enum AmplitudeEngagementPluginFactory {
|
|
239
|
+
public static func make(_ options: AmplitudeEngagementSwift.AmplitudeInitOptions = AmplitudeInitOptions()) -> any AmplitudeCore.UniversalPlugin
|
|
240
|
+
}
|
|
241
|
+
public enum AmplitudeEngagementFactory {
|
|
242
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
243
|
+
public static func make(_ apiKey: Swift.String, _ options: AmplitudeEngagementSwift.AmplitudeInitOptions? = nil, settingsTimeout: Foundation.TimeInterval = 1.25) -> any AmplitudeEngagementSwift.AmplitudeEngagement
|
|
244
|
+
#endif
|
|
245
|
+
}
|
|
246
|
+
public enum __Flutter__AESDK_Factory {
|
|
247
|
+
public static func make(_ apiKey: Swift.String, _ options: AmplitudeEngagementSwift.AmplitudeInitOptions = AmplitudeInitOptions(), settingsTimeout: Foundation.TimeInterval = 1.25, platformVersion: Swift.String) -> any AmplitudeEngagementSwift.AmplitudeEngagement
|
|
248
|
+
}
|
|
249
|
+
public enum __ReactNative__AESDK_Factory {
|
|
250
|
+
public static func make(_ apiKey: Swift.String, _ options: AmplitudeEngagementSwift.AmplitudeInitOptions = AmplitudeInitOptions(), settingsTimeout: Foundation.TimeInterval = 1.25, platformVersion: Swift.String) -> any AmplitudeEngagementSwift.AmplitudeEngagement
|
|
251
|
+
}
|
|
252
|
+
@_hasMissingDesignatedInitializers public class AmplitudeEngagementImpl : Observation.Observable, AmplitudeEngagementSwift.AmplitudeEngagement {
|
|
253
|
+
public static var logger: any AmplitudeEngagementSwift.AmplitudeLogger
|
|
254
|
+
public var config: AmplitudeEngagementSwift.AmplitudeEngagementConfig
|
|
255
|
+
public var platform: AmplitudeEngagementSwift.DevelopmentPlatform {
|
|
256
|
+
get
|
|
257
|
+
}
|
|
258
|
+
public func getPlugin() -> any AmplitudeCore.UniversalPlugin
|
|
259
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
260
|
+
public func boot(_ user_id: Swift.String, device_id: Swift.String? = nil, autoRefreshIntervalSeconds: Swift.Int = 0)
|
|
261
|
+
#endif
|
|
262
|
+
public func boot(options: AmplitudeEngagementSwift.AmplitudeBootOptions)
|
|
263
|
+
public func shutdown()
|
|
264
|
+
public func enable()
|
|
265
|
+
public func disable()
|
|
266
|
+
public func setThemeMode(themeMode: AmplitudeEngagementSwift.ThemeMode)
|
|
267
|
+
public func reset(key: Swift.String, stepIndex: Swift.Int = 0)
|
|
268
|
+
public func list() -> [AmplitudeEngagementSwift.GuideOrSurvey]
|
|
269
|
+
public func show(key: Swift.String, stepIndex: Swift.Int = 0)
|
|
270
|
+
public func screen(_ screenName: Swift.String)
|
|
271
|
+
public func closeAll()
|
|
272
|
+
public func forwardEvent(_ eventProperties: [Swift.String : Any])
|
|
273
|
+
public func addCallback(_ key: Swift.String, _ function: @escaping () -> Swift.Void)
|
|
274
|
+
public func refresh()
|
|
275
|
+
public func setAutoRefreshInterval(seconds: Swift.Int)
|
|
276
|
+
public func handleUrl(_ url: Foundation.URL) -> Swift.Bool
|
|
277
|
+
public func updateLanguage(_ locale: Swift.String)
|
|
278
|
+
public func resetSmartInteractions()
|
|
279
|
+
public func setRouter(_ router: @escaping (Swift.String) -> Swift.Void)
|
|
280
|
+
public func unsetRouter()
|
|
281
|
+
public func _setUserProperties(_ userProperties: [Swift.String : Any])
|
|
282
|
+
@objc deinit
|
|
283
|
+
}
|
|
284
|
+
final public class AmplitudeEngagementNoOpStub : AmplitudeEngagementSwift.AmplitudeEngagement {
|
|
285
|
+
final public var config: AmplitudeEngagementSwift.AmplitudeEngagementConfig {
|
|
286
|
+
get
|
|
287
|
+
}
|
|
288
|
+
final public var platform: AmplitudeEngagementSwift.DevelopmentPlatform {
|
|
289
|
+
get
|
|
290
|
+
}
|
|
291
|
+
public init(_ apiKey: Swift.String, _ options: AmplitudeEngagementSwift.AmplitudeInitOptions = AmplitudeInitOptions(), _ platform: AmplitudeEngagementSwift.DevelopmentPlatform)
|
|
292
|
+
final public func getPlugin() -> any AmplitudeCore.UniversalPlugin
|
|
293
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
294
|
+
final public func boot(_ user_id: Swift.String, device_id: Swift.String?, autoRefreshIntervalSeconds: Swift.Int)
|
|
295
|
+
#endif
|
|
296
|
+
final public func boot(options: AmplitudeEngagementSwift.AmplitudeBootOptions)
|
|
297
|
+
final public func shutdown()
|
|
298
|
+
final public func enable()
|
|
299
|
+
final public func disable()
|
|
300
|
+
final public func setThemeMode(themeMode: AmplitudeEngagementSwift.ThemeMode)
|
|
301
|
+
final public func reset(key: Swift.String, stepIndex: Swift.Int)
|
|
302
|
+
final public func list() -> [AmplitudeEngagementSwift.GuideOrSurvey]
|
|
303
|
+
final public func show(key: Swift.String, stepIndex: Swift.Int)
|
|
304
|
+
final public func closeAll()
|
|
305
|
+
final public func screen(_ screenName: Swift.String)
|
|
306
|
+
final public func updateLanguage(_ locale: Swift.String)
|
|
307
|
+
final public func forwardEvent(_ eventProperties: [Swift.String : Any])
|
|
308
|
+
final public func addCallback(_ key: Swift.String, _ function: @escaping () -> Swift.Void)
|
|
309
|
+
final public func setRouter(_ router: @escaping (Swift.String) -> Swift.Void)
|
|
310
|
+
final public func unsetRouter()
|
|
311
|
+
final public func handleUrl(_ url: Foundation.URL) -> Swift.Bool
|
|
312
|
+
final public func resetSmartInteractions()
|
|
313
|
+
final public func refresh()
|
|
314
|
+
final public func setAutoRefreshInterval(seconds: Swift.Int)
|
|
315
|
+
final public func _setUserProperties(_ userProperties: [Swift.String : Any])
|
|
316
|
+
@objc deinit
|
|
317
|
+
}
|
|
318
|
+
public struct AmplitudeEndUser {
|
|
319
|
+
public var user_id: Swift.String?
|
|
320
|
+
public var device_id: Swift.String?
|
|
321
|
+
public var user_properties: [Swift.String : Any]
|
|
322
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
323
|
+
public init(user_id: Swift.String? = nil, device_id: Swift.String? = nil, user_properties: [Swift.String : Any] = [:])
|
|
324
|
+
#endif
|
|
325
|
+
}
|
|
326
|
+
public struct AmplitudeBootOptions {
|
|
327
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
328
|
+
public init(user_id: Swift.String?, device_id: Swift.String? = nil, integrations: [(_ eventType: Swift.String, _ eventProperties: [Swift.String : Any]) -> Swift.Void] = [], user_properties: [Swift.String : Any] = [:], autoRefreshIntervalSeconds: Swift.Int = 0)
|
|
329
|
+
#endif
|
|
330
|
+
public init(user: AmplitudeEngagementSwift.AmplitudeEndUser, integrations: [(_ eventType: Swift.String, _ eventProperties: [Swift.String : Any]) -> Swift.Void] = [], autoRefreshIntervalSeconds: Swift.Int = 0)
|
|
331
|
+
}
|
|
332
|
+
public enum AmplitudeServerZone : Swift.String, Swift.Codable {
|
|
333
|
+
case EU
|
|
334
|
+
case US
|
|
335
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
336
|
+
public init?(rawValue: Swift.String)
|
|
337
|
+
#endif
|
|
338
|
+
public typealias RawValue = Swift.String
|
|
339
|
+
public var rawValue: Swift.String {
|
|
340
|
+
get
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
public struct AmplitudeInitOptions : Swift.Codable {
|
|
344
|
+
public func toString() -> Swift.String
|
|
345
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
346
|
+
public init(serverZone: AmplitudeEngagementSwift.AmplitudeServerZone? = nil, locale: Swift.String? = nil, logLevel: AmplitudeEngagementSwift.AmplitudeLogLevel? = nil, serverUrl: Swift.String? = nil, cdnUrl: Swift.String? = nil, mediaUrl: Swift.String? = nil, ignoreAnalyticsAutomaticScreenTracking: Swift.Bool? = nil)
|
|
347
|
+
#endif
|
|
348
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
349
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
350
|
+
}
|
|
351
|
+
public struct AmplitudeEngagementConfig {
|
|
352
|
+
}
|
|
353
|
+
extension AmplitudeEngagementSwift.ThemeMode : Swift.Equatable {}
|
|
354
|
+
extension AmplitudeEngagementSwift.ThemeMode : Swift.Hashable {}
|
|
355
|
+
extension AmplitudeEngagementSwift.ThemeMode : Swift.RawRepresentable {}
|
|
356
|
+
extension AmplitudeEngagementSwift.GuideOrSurveyStatus : Swift.Equatable {}
|
|
357
|
+
extension AmplitudeEngagementSwift.GuideOrSurveyStatus : Swift.Hashable {}
|
|
358
|
+
extension AmplitudeEngagementSwift.GuideOrSurveyStatus : Swift.RawRepresentable {}
|
|
359
|
+
extension AmplitudeEngagementSwift.AmplitudeLogLevel : Swift.Equatable {}
|
|
360
|
+
extension AmplitudeEngagementSwift.AmplitudeLogLevel : Swift.Hashable {}
|
|
361
|
+
extension AmplitudeEngagementSwift.AmplitudeLogLevel : Swift.RawRepresentable {}
|
|
362
|
+
extension AmplitudeEngagementSwift.DebugStatus : Swift.Equatable {}
|
|
363
|
+
extension AmplitudeEngagementSwift.DebugStatus : Swift.Hashable {}
|
|
364
|
+
extension AmplitudeEngagementSwift.DebugStatus : Swift.RawRepresentable {}
|
|
365
|
+
extension AmplitudeEngagementSwift.SDKType : Swift.Equatable {}
|
|
366
|
+
extension AmplitudeEngagementSwift.SDKType : Swift.Hashable {}
|
|
367
|
+
extension AmplitudeEngagementSwift.SDKType : Swift.RawRepresentable {}
|
|
368
|
+
extension AmplitudeEngagementSwift.InstallationType : Swift.Equatable {}
|
|
369
|
+
extension AmplitudeEngagementSwift.InstallationType : Swift.Hashable {}
|
|
370
|
+
extension AmplitudeEngagementSwift.InstallationType : Swift.RawRepresentable {}
|
|
371
|
+
extension AmplitudeEngagementSwift.AmplitudeServerZone : Swift.Equatable {}
|
|
372
|
+
extension AmplitudeEngagementSwift.AmplitudeServerZone : Swift.Hashable {}
|
|
373
|
+
extension AmplitudeEngagementSwift.AmplitudeServerZone : Swift.RawRepresentable {}
|