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