@log-drop/react-native 2.1.8 → 2.2.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 (115) hide show
  1. package/README.md +76 -4
  2. package/android/gradle.properties +1 -1
  3. package/android/src/main/java/com/logdropreactnative/LogDropReactNative.kt +1 -0
  4. package/android/src/main/java/com/logdropreactnative/LogDropReactNativeConfig.kt +11 -1
  5. package/android/src/main/java/com/logdropreactnative/LogDropReactNativeModule.kt +6 -0
  6. package/ios/LogDropReactNative.mm +1 -0
  7. package/ios/LogDropReactNative.swift +10 -0
  8. package/ios-sdk/Frameworks/LogDropSDK.xcframework/Info.plist +5 -5
  9. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Alamofire_Alamofire.bundle/Info.plist +0 -0
  10. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/DeviceKit_DeviceKit.bundle/Info.plist +0 -0
  11. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseCore.bundle/Info.plist +0 -0
  12. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseCoreExtension.bundle/Info.plist +0 -0
  13. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseCoreInternal.bundle/Info.plist +0 -0
  14. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseCrashlytics.bundle/Info.plist +0 -0
  15. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseInstallations.bundle/Info.plist +0 -0
  16. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseMessaging.bundle/Info.plist +0 -0
  17. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleDataTransport_GoogleDataTransport.bundle/Info.plist +0 -0
  18. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-AppDelegateSwizzler.bundle/Info.plist +0 -0
  19. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Environment.bundle/Info.plist +0 -0
  20. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Logger.bundle/Info.plist +0 -0
  21. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-NSData.bundle/Info.plist +0 -0
  22. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Network.bundle/Info.plist +0 -0
  23. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Reachability.bundle/Info.plist +0 -0
  24. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-UserDefaults.bundle/Info.plist +0 -0
  25. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Headers/LogDropSDK-Swift.h +74 -8
  26. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Info.plist +0 -0
  27. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/LogDropSDK +0 -0
  28. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios.abi.json +3200 -1483
  29. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +253 -293
  30. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  31. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios.swiftinterface +253 -293
  32. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Modules/module.modulemap +0 -1
  33. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/PLCrashReporter_CrashReporter.bundle/Info.plist +0 -0
  34. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Promises_FBLPromises.bundle/Info.plist +0 -0
  35. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Promises_Promises.bundle/Info.plist +0 -0
  36. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/SwiftProtobuf_SwiftProtobuf.bundle/Info.plist +0 -0
  37. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/nanopb_nanopb.bundle/Info.plist +0 -0
  38. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Alamofire_Alamofire.bundle/Info.plist +0 -0
  39. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Alamofire_Alamofire.bundle/_CodeSignature/CodeDirectory +0 -0
  40. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/DeviceKit_DeviceKit.bundle/Info.plist +0 -0
  41. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/DeviceKit_DeviceKit.bundle/_CodeSignature/CodeDirectory +0 -0
  42. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCore.bundle/Info.plist +0 -0
  43. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCore.bundle/_CodeSignature/CodeDirectory +0 -0
  44. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCoreExtension.bundle/Info.plist +0 -0
  45. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCoreExtension.bundle/_CodeSignature/CodeDirectory +0 -0
  46. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCoreInternal.bundle/Info.plist +0 -0
  47. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCoreInternal.bundle/_CodeSignature/CodeDirectory +0 -0
  48. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCrashlytics.bundle/Info.plist +0 -0
  49. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCrashlytics.bundle/_CodeSignature/CodeDirectory +0 -0
  50. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseInstallations.bundle/Info.plist +0 -0
  51. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseInstallations.bundle/_CodeSignature/CodeDirectory +0 -0
  52. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseMessaging.bundle/Info.plist +0 -0
  53. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseMessaging.bundle/_CodeSignature/CodeDirectory +0 -0
  54. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleDataTransport_GoogleDataTransport.bundle/Info.plist +0 -0
  55. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleDataTransport_GoogleDataTransport.bundle/_CodeSignature/CodeDirectory +0 -0
  56. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-AppDelegateSwizzler.bundle/Info.plist +0 -0
  57. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-AppDelegateSwizzler.bundle/_CodeSignature/CodeDirectory +0 -0
  58. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Environment.bundle/Info.plist +0 -0
  59. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Environment.bundle/_CodeSignature/CodeDirectory +0 -0
  60. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Logger.bundle/Info.plist +0 -0
  61. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Logger.bundle/_CodeSignature/CodeDirectory +0 -0
  62. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-NSData.bundle/Info.plist +0 -0
  63. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-NSData.bundle/_CodeSignature/CodeDirectory +0 -0
  64. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Network.bundle/Info.plist +0 -0
  65. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Network.bundle/_CodeSignature/CodeDirectory +0 -0
  66. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Reachability.bundle/Info.plist +0 -0
  67. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Reachability.bundle/_CodeSignature/CodeDirectory +0 -0
  68. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-UserDefaults.bundle/Info.plist +0 -0
  69. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-UserDefaults.bundle/_CodeSignature/CodeDirectory +0 -0
  70. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Headers/LogDropSDK-Swift.h +150 -18
  71. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Info.plist +0 -0
  72. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/LogDropSDK +0 -0
  73. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +3200 -1483
  74. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +253 -293
  75. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  76. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +253 -293
  77. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +3200 -1483
  78. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +253 -293
  79. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  80. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +253 -293
  81. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/module.modulemap +0 -1
  82. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/PLCrashReporter_CrashReporter.bundle/Info.plist +0 -0
  83. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/PLCrashReporter_CrashReporter.bundle/_CodeSignature/CodeDirectory +0 -0
  84. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Promises_FBLPromises.bundle/Info.plist +0 -0
  85. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Promises_FBLPromises.bundle/_CodeSignature/CodeDirectory +0 -0
  86. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Promises_Promises.bundle/Info.plist +0 -0
  87. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Promises_Promises.bundle/_CodeSignature/CodeDirectory +0 -0
  88. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/SwiftProtobuf_SwiftProtobuf.bundle/Info.plist +0 -0
  89. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/SwiftProtobuf_SwiftProtobuf.bundle/_CodeSignature/CodeDirectory +0 -0
  90. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/_CodeSignature/CodeResources +25 -25
  91. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/nanopb_nanopb.bundle/Info.plist +0 -0
  92. package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/nanopb_nanopb.bundle/_CodeSignature/CodeDirectory +0 -0
  93. package/ios-sdk/LogDrop.podspec +2 -2
  94. package/ios-sdk/VERSION +1 -1
  95. package/lib/module/LogDrop.js +20 -0
  96. package/lib/module/LogDrop.js.map +1 -1
  97. package/lib/module/LogDropConfig.js +12 -1
  98. package/lib/module/LogDropConfig.js.map +1 -1
  99. package/lib/module/LogDropNavigation.js +58 -0
  100. package/lib/module/LogDropNavigation.js.map +1 -0
  101. package/lib/module/index.js +2 -1
  102. package/lib/module/index.js.map +1 -1
  103. package/lib/typescript/src/LogDrop.d.ts +11 -0
  104. package/lib/typescript/src/LogDrop.d.ts.map +1 -1
  105. package/lib/typescript/src/LogDropConfig.d.ts +13 -0
  106. package/lib/typescript/src/LogDropConfig.d.ts.map +1 -1
  107. package/lib/typescript/src/LogDropNavigation.d.ts +52 -0
  108. package/lib/typescript/src/LogDropNavigation.d.ts.map +1 -0
  109. package/lib/typescript/src/index.d.ts +3 -2
  110. package/lib/typescript/src/index.d.ts.map +1 -1
  111. package/package.json +2 -2
  112. package/src/LogDrop.ts +22 -0
  113. package/src/LogDropConfig.ts +18 -0
  114. package/src/LogDropNavigation.ts +89 -0
  115. package/src/index.tsx +22 -2
@@ -1,7 +1,7 @@
1
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-ios14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name LogDropSDK
4
- // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2
2
+ // swift-compiler-version: Apple Swift version 6.4.2 effective-5.10 (swiftlang-6.4.2.1.9 clang-2100.4.1.1)
3
+ // swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -language-mode 5 -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name LogDropSDK
4
+ // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.4.2
5
5
  import AVFoundation
6
6
  import AppTrackingTransparency
7
7
  import CFNetwork
@@ -18,10 +18,12 @@ import MachO
18
18
  import Network
19
19
  import ObjectiveC
20
20
  import Photos
21
+ import QuartzCore
21
22
  import SQLite3
22
23
  import SafariServices
23
24
  import Security
24
25
  import Swift
26
+ import SwiftUI
25
27
  import SystemConfiguration
26
28
  import UIKit
27
29
  import UserNotifications
@@ -30,363 +32,321 @@ import _Concurrency
30
32
  import _StringProcessing
31
33
  import _SwiftConcurrencyShims
32
34
  import ObjectiveC.runtime
33
- extension WebKit.WKWebView {
34
- @objc @_Concurrency.MainActor @preconcurrency public static func enableLogDropNetworkCaptureSwizzle()
35
+ extension WebKit::WKWebView {
36
+ @objc @_Concurrency::MainActor @preconcurrency public static func enableLogDropNetworkCaptureSwizzle()
35
37
  }
36
- @_inheritsConvenienceInitializers @objc(LogDropWKWebViewSwizzleHelper) final public class LogDropWKWebViewSwizzleHelper : ObjectiveC.NSObject {
38
+ @_inheritsConvenienceInitializers @objc(LogDropWKWebViewSwizzleHelper) final public class LogDropWKWebViewSwizzleHelper : ObjectiveC::NSObject {
37
39
  @objc public static func enableSwizzling()
38
40
  @objc override dynamic public init()
39
41
  @objc deinit
40
42
  }
41
- public struct LogFlow : Swift.Codable {
42
- #if compiler(>=5.3) && $NonescapableTypes
43
- public init(name: Swift.String, id: Swift.String, customAttributes: [Swift.String : Swift.String]? = nil)
44
- #endif
45
- public func encode(to encoder: any Swift.Encoder) throws
46
- public init(from decoder: any Swift.Decoder) throws
43
+ public struct LogFlow : Swift::Codable {
44
+ public init(name: Swift::String, id: Swift::String, customAttributes: [Swift::String : Swift::String]? = nil)
45
+ public func encode(to encoder: any Swift::Encoder) throws
46
+ public init(from decoder: any Swift::Decoder) throws
47
47
  }
48
48
  public struct LogDropConfig {
49
- public var appId: Swift.String
49
+ public var appId: Swift::String
50
50
  @available(*, deprecated, message: "Use appId instead.")
51
- public var apiKey: Swift.String {
51
+ public var apiKey: Swift::String {
52
52
  get
53
53
  set
54
54
  }
55
- public var secretKey: Swift.String
56
- public var baseUrl: Swift.String
57
- public var isLoggingEnabled: Swift.Bool
58
- public var defaultSDKDisabled: Swift.Bool
59
- public var frameworkType: LogDropSDK.FrameworkType
60
- public var pushCallbacks: (any LogDropSDK.LogDropPushCallbacks)?
61
- public var pushDeeplinkHandler: (any LogDropSDK.LogDropPushDeeplinkHandler)?
62
- public var inAppLifecycleCallbacks: (any LogDropSDK.LogDropInAppLifecycleCallbacks)?
63
- public var internalBrowserLifecycleCallbacks: (any LogDropSDK.LogDropInternalBrowserLifecycleCallbacks)?
64
- public var pushAppGroupSuiteName: Swift.String?
65
- public var whitelistActionCallback: (any LogDropSDK.LogDropWhitelistActionCallback)?
66
- public var riskPolicyActionCallback: (any LogDropSDK.LogDropRiskPolicyActionCallback)?
55
+ public var secretKey: Swift::String
56
+ public var baseUrl: Swift::String
57
+ public var isLoggingEnabled: Swift::Bool
58
+ public var defaultSDKDisabled: Swift::Bool
59
+ public var frameworkType: LogDropSDK::FrameworkType
60
+ public var pushCallbacks: (any LogDropSDK::LogDropPushCallbacks)?
61
+ public var pushDeeplinkHandler: (any LogDropSDK::LogDropPushDeeplinkHandler)?
62
+ public var inAppLifecycleCallbacks: (any LogDropSDK::LogDropInAppLifecycleCallbacks)?
63
+ public var internalBrowserLifecycleCallbacks: (any LogDropSDK::LogDropInternalBrowserLifecycleCallbacks)?
64
+ public var pushAppGroupSuiteName: Swift::String?
65
+ public var whitelistActionCallback: (any LogDropSDK::LogDropWhitelistActionCallback)?
66
+ public var riskPolicyActionCallback: (any LogDropSDK::LogDropRiskPolicyActionCallback)?
67
+ public var automaticScreenTracking: Swift::Bool
67
68
  public class Builder {
68
69
  public init()
69
- public func setAppId(_ appId: Swift.String) -> LogDropSDK.LogDropConfig.Builder
70
+ public func setAppId(_ appId: Swift::String) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
70
71
  @available(*, deprecated, message: "Use setAppId(_:) instead.")
71
- public func setApiKey(_ apiKey: Swift.String) -> LogDropSDK.LogDropConfig.Builder
72
- public func setSecretKey(_ secretKey: Swift.String) -> LogDropSDK.LogDropConfig.Builder
73
- public func setLoggingEnabled(_ isLoggingEnabled: Swift.Bool) -> LogDropSDK.LogDropConfig.Builder
74
- public func setDefaultSDKDisabledValue(_ defaultSDKDisabled: Swift.Bool) -> LogDropSDK.LogDropConfig.Builder
75
- public func setBaseUrl(_ baseUrl: Swift.String) -> LogDropSDK.LogDropConfig.Builder
76
- public func setFrameworkType(_ frameworkType: LogDropSDK.FrameworkType) -> LogDropSDK.LogDropConfig.Builder
77
- #if compiler(>=5.3) && $NonescapableTypes
78
- public func setPushCallbacks(_ callbacks: (any LogDropSDK.LogDropPushCallbacks)?) -> LogDropSDK.LogDropConfig.Builder
79
- #endif
80
- #if compiler(>=5.3) && $NonescapableTypes
81
- public func setPushDeeplinkHandler(_ handler: (any LogDropSDK.LogDropPushDeeplinkHandler)?) -> LogDropSDK.LogDropConfig.Builder
82
- #endif
83
- #if compiler(>=5.3) && $NonescapableTypes
84
- public func setInAppLifecycleCallbacks(_ callbacks: (any LogDropSDK.LogDropInAppLifecycleCallbacks)?) -> LogDropSDK.LogDropConfig.Builder
85
- #endif
86
- #if compiler(>=5.3) && $NonescapableTypes
87
- public func setInternalBrowserLifecycleCallbacks(_ callbacks: (any LogDropSDK.LogDropInternalBrowserLifecycleCallbacks)?) -> LogDropSDK.LogDropConfig.Builder
88
- #endif
89
- #if compiler(>=5.3) && $NonescapableTypes
90
- public func setPushAppGroupSuiteName(_ suiteName: Swift.String?) -> LogDropSDK.LogDropConfig.Builder
91
- #endif
92
- #if compiler(>=5.3) && $NonescapableTypes
93
- public func onWhitelistActionTaken(_ callback: (any LogDropSDK.LogDropWhitelistActionCallback)?) -> LogDropSDK.LogDropConfig.Builder
94
- #endif
95
- #if compiler(>=5.3) && $NonescapableTypes
96
- public func onRiskPolicyActionTaken(_ callback: (any LogDropSDK.LogDropRiskPolicyActionCallback)?) -> LogDropSDK.LogDropConfig.Builder
97
- #endif
98
- public func build() -> LogDropSDK.LogDropConfig
72
+ public func setApiKey(_ apiKey: Swift::String) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
73
+ public func setSecretKey(_ secretKey: Swift::String) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
74
+ public func setLoggingEnabled(_ isLoggingEnabled: Swift::Bool) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
75
+ public func setDefaultSDKDisabledValue(_ defaultSDKDisabled: Swift::Bool) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
76
+ public func setBaseUrl(_ baseUrl: Swift::String) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
77
+ public func setFrameworkType(_ frameworkType: LogDropSDK::FrameworkType) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
78
+ public func setPushCallbacks(_ callbacks: (any LogDropSDK::LogDropPushCallbacks)?) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
79
+ public func setPushDeeplinkHandler(_ handler: (any LogDropSDK::LogDropPushDeeplinkHandler)?) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
80
+ public func setInAppLifecycleCallbacks(_ callbacks: (any LogDropSDK::LogDropInAppLifecycleCallbacks)?) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
81
+ public func setInternalBrowserLifecycleCallbacks(_ callbacks: (any LogDropSDK::LogDropInternalBrowserLifecycleCallbacks)?) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
82
+ public func setPushAppGroupSuiteName(_ suiteName: Swift::String?) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
83
+ public func onWhitelistActionTaken(_ callback: (any LogDropSDK::LogDropWhitelistActionCallback)?) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
84
+ public func onRiskPolicyActionTaken(_ callback: (any LogDropSDK::LogDropRiskPolicyActionCallback)?) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
85
+ public func setAutomaticScreenTracking(_ enabled: Swift::Bool) -> LogDropSDK::LogDropConfig.LogDropSDK::Builder
86
+ public func build() -> LogDropSDK::LogDropConfig
99
87
  @objc deinit
100
88
  }
101
89
  }
102
- extension Foundation.URLSession {
90
+ extension Foundation::URLSession {
103
91
  public static func enableSessionInitSwizzle()
104
92
  }
105
- @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class LogDrop : ObjectiveC.NSObject {
106
- public static func initialize(with config: LogDropSDK.LogDropConfig)
107
- public static func setAppId(_ appId: Swift.String)
108
- public static func isHttpRequestTrackingEligible(_ urlString: Swift.String) -> Swift.Bool
109
- @objc(logDropHttpRequestTrackingEligibility:) public static func httpRequestTrackingEligibility(_ urlString: Swift.String) -> Foundation.NSNumber
110
- @objc(logDropHttpRequestTrackingDecision:) public static func httpRequestTrackingDecision(_ urlString: Swift.String) -> Foundation.NSDictionary
111
- #if compiler(>=5.3) && $NonescapableTypes
112
- public static func sendLogs(completion: @escaping (Swift.Result<Swift.Bool, any Swift.Error>) -> Swift.Void = { _ in })
113
- #endif
114
- public static func flushOtlpTracing(completion: @escaping (Swift.Bool) -> Swift.Void = { _ in })
115
- @objc(logDropFlushOtlpTracing:) public static func otlpFlush(_ completion: @escaping (Foundation.NSNumber) -> Swift.Void)
116
- public static func trackCustomEvent(eventName: Swift.String, properties: [Swift.String : Any] = [:])
117
- public static func getRiskSnapshot() -> LogDropSDK.RiskSnapshot
118
- public static func getBotSnapshot() -> LogDropSDK.BotSnapshot
119
- public static func getSessionThreatSnapshot() -> LogDropSDK.SessionThreatSnapshot
120
- public static func setExplicitAutomationContext(_ enabled: Swift.Bool)
121
- public static func onRemoteMessageReceived(_ userInfo: [Swift.AnyHashable : Any])
122
- public static func isLogDropPush(_ userInfo: [Swift.AnyHashable : Any]) -> Swift.Bool
93
+ @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class LogDrop : ObjectiveC::NSObject {
94
+ public static func initialize(with config: LogDropSDK::LogDropConfig)
95
+ public static func setAppId(_ appId: Swift::String)
96
+ public static func isHttpRequestTrackingEligible(_ urlString: Swift::String) -> Swift::Bool
97
+ @objc(logDropHttpRequestTrackingEligibility:) public static func httpRequestTrackingEligibility(_ urlString: Swift::String) -> Foundation::NSNumber
98
+ @objc(logDropHttpRequestTrackingDecision:) public static func httpRequestTrackingDecision(_ urlString: Swift::String) -> Foundation::NSDictionary
99
+ public static func sendLogs(completion: @escaping (Swift::Result<Swift::Bool, any Swift::Error>) -> Swift::Void = { _ in })
100
+ public static func flushOtlpTracing(completion: @escaping (Swift::Bool) -> Swift::Void = { _ in })
101
+ @objc(logDropFlushOtlpTracing:) public static func otlpFlush(_ completion: @escaping (Foundation::NSNumber) -> Swift::Void)
102
+ public static func trackCustomEvent(eventName: Swift::String, properties: [Swift::String : Any] = [:])
103
+ public static func trackScreen(_ name: Swift::String)
104
+ public static func getRiskSnapshot() -> LogDropSDK::RiskSnapshot
105
+ public static func getBotSnapshot() -> LogDropSDK::BotSnapshot
106
+ public static func getSessionThreatSnapshot() -> LogDropSDK::SessionThreatSnapshot
107
+ public static func setExplicitAutomationContext(_ enabled: Swift::Bool)
108
+ public static func onRemoteMessageReceived(_ userInfo: [Swift::AnyHashable : Any])
109
+ public static func isLogDropPush(_ userInfo: [Swift::AnyHashable : Any]) -> Swift::Bool
123
110
  public static func requestPushNotificationAuthorization()
124
111
  @discardableResult
125
- public static func showPendingPushPopup() -> LogDropSDK.LogDropPopupShowResult
126
- #if compiler(>=5.3) && $NonescapableTypes
127
- public static func setPushCallbacks(_ callbacks: (any LogDropSDK.LogDropPushCallbacks)?)
128
- #endif
129
- #if compiler(>=5.3) && $NonescapableTypes
130
- public static func setPushDeeplinkHandler(_ handler: (any LogDropSDK.LogDropPushDeeplinkHandler)?)
131
- #endif
132
- #if compiler(>=5.3) && $NonescapableTypes
133
- public static func setInAppLifecycleCallbacks(_ callbacks: (any LogDropSDK.LogDropInAppLifecycleCallbacks)?)
134
- #endif
135
- #if compiler(>=5.3) && $NonescapableTypes
136
- public static func setInternalBrowserLifecycleCallbacks(_ callbacks: (any LogDropSDK.LogDropInternalBrowserLifecycleCallbacks)?)
137
- #endif
138
- public static func setCustomAttributes(_ attributes: [Swift.String : Swift.String])
139
- public static func removeCustomAttribute(key: Swift.String)
140
- #if compiler(>=5.3) && $NonescapableTypes
141
- public static func updateUser(userUuid: Swift.String, completion: @escaping (Swift.Result<Swift.Bool, any Swift.Error>) -> Swift.Void = { _ in })
142
- #endif
143
- public static func onNewApnsToken(apnsToken: Foundation.Data)
144
- public static func handleIncomingURL(_ url: Foundation.URL)
145
- public static func handleUserActivity(_ userActivity: Foundation.NSUserActivity)
146
- public static func saveHttpLog(jsonString: Swift.String)
147
- public static func saveCustomCrashReport(threadName: Swift.String, stackTrace: Swift.String, crashType: Swift.String)
148
- #if compiler(>=5.3) && $NonescapableTypes
149
- public static func e(_ message: Swift.String, logFlow: LogDropSDK.LogFlow? = nil, file: Swift.String = #file, line: Swift.Int = #line)
150
- #endif
151
- #if compiler(>=5.3) && $NonescapableTypes
152
- public static func d(_ message: Swift.String, logFlow: LogDropSDK.LogFlow? = nil, file: Swift.String = #file, line: Swift.Int = #line)
153
- #endif
154
- #if compiler(>=5.3) && $NonescapableTypes
155
- public static func i(_ message: Swift.String, logFlow: LogDropSDK.LogFlow? = nil, file: Swift.String = #file, line: Swift.Int = #line)
156
- #endif
157
- #if compiler(>=5.3) && $NonescapableTypes
158
- public static func w(_ message: Swift.String, logFlow: LogDropSDK.LogFlow? = nil, file: Swift.String = #file, line: Swift.Int = #line)
159
- #endif
112
+ public static func showPendingPushPopup() -> LogDropSDK::LogDropPopupShowResult
113
+ public static func setPushCallbacks(_ callbacks: (any LogDropSDK::LogDropPushCallbacks)?)
114
+ public static func setPushDeeplinkHandler(_ handler: (any LogDropSDK::LogDropPushDeeplinkHandler)?)
115
+ public static func setInAppLifecycleCallbacks(_ callbacks: (any LogDropSDK::LogDropInAppLifecycleCallbacks)?)
116
+ public static func setInternalBrowserLifecycleCallbacks(_ callbacks: (any LogDropSDK::LogDropInternalBrowserLifecycleCallbacks)?)
117
+ public static func setCustomAttributes(_ attributes: [Swift::String : Swift::String])
118
+ public static func removeCustomAttribute(key: Swift::String)
119
+ public static func updateUser(userUuid: Swift::String, completion: @escaping (Swift::Result<Swift::Bool, any Swift::Error>) -> Swift::Void = { _ in })
120
+ public static func onNewApnsToken(apnsToken: Foundation::Data)
121
+ public static func handleIncomingURL(_ url: Foundation::URL)
122
+ public static func handleUserActivity(_ userActivity: Foundation::NSUserActivity)
123
+ public static func saveHttpLog(jsonString: Swift::String)
124
+ public static func saveCustomCrashReport(threadName: Swift::String, stackTrace: Swift::String, crashType: Swift::String)
125
+ public static func e(_ message: Swift::String, logFlow: LogDropSDK::LogFlow? = nil, file: Swift::String = #file, line: Swift::Int = #line)
126
+ public static func d(_ message: Swift::String, logFlow: LogDropSDK::LogFlow? = nil, file: Swift::String = #file, line: Swift::Int = #line)
127
+ public static func i(_ message: Swift::String, logFlow: LogDropSDK::LogFlow? = nil, file: Swift::String = #file, line: Swift::Int = #line)
128
+ public static func w(_ message: Swift::String, logFlow: LogDropSDK::LogFlow? = nil, file: Swift::String = #file, line: Swift::Int = #line)
160
129
  @objc deinit
161
130
  }
162
- public struct BotSnapshot : Swift.Equatable {
163
- public let score: Swift.Int
164
- public let label: Swift.String
165
- public let evidence: [Swift.String : Swift.String]
166
- public let timestamp: Foundation.Date
167
- public init(score: Swift.Int, label: Swift.String, evidence: [Swift.String : Swift.String], timestamp: Foundation.Date)
168
- public static func == (a: LogDropSDK.BotSnapshot, b: LogDropSDK.BotSnapshot) -> Swift.Bool
169
- }
170
- public struct RiskSnapshot : Swift.Equatable {
171
- public let score: Swift.Int
172
- public let level: Swift.String
173
- public let signals: [Swift.String]
174
- public let timestamp: Foundation.Date
175
- public init(score: Swift.Int, level: Swift.String, signals: [Swift.String], timestamp: Foundation.Date)
176
- public static func == (a: LogDropSDK.RiskSnapshot, b: LogDropSDK.RiskSnapshot) -> Swift.Bool
177
- }
178
- public struct SessionThreatSnapshot : Swift.Equatable {
179
- public let riskScore: Swift.Int
180
- public let riskLevel: Swift.String
181
- public let botScore: Swift.Int
182
- public let botLabel: Swift.String
183
- public let posture: Swift.String
184
- public let reasons: [Swift.String]
185
- public let timestamp: Foundation.Date
186
- public init(riskScore: Swift.Int, riskLevel: Swift.String, botScore: Swift.Int, botLabel: Swift.String, posture: Swift.String, reasons: [Swift.String], timestamp: Foundation.Date)
187
- public static func == (a: LogDropSDK.SessionThreatSnapshot, b: LogDropSDK.SessionThreatSnapshot) -> Swift.Bool
188
- }
189
- public struct AnyCodable : Swift.Codable {
131
+ public protocol LogDropScreenNaming : AnyObject {
132
+ var logDropScreenName: Swift::String? { get }
133
+ }
134
+ extension SwiftUICore::View {
135
+ @_Concurrency::MainActor @preconcurrency public func logDropScreen(_ name: Swift::String) -> some SwiftUICore::View
136
+
137
+ }
138
+ public struct BotSnapshot : Swift::Equatable {
139
+ public let score: Swift::Int
140
+ public let label: Swift::String
141
+ public let evidence: [Swift::String : Swift::String]
142
+ public let timestamp: Foundation::Date
143
+ public init(score: Swift::Int, label: Swift::String, evidence: [Swift::String : Swift::String], timestamp: Foundation::Date)
144
+ public static func == (a: LogDropSDK::BotSnapshot, b: LogDropSDK::BotSnapshot) -> Swift::Bool
145
+ }
146
+ public struct RiskSnapshot : Swift::Equatable {
147
+ public let score: Swift::Int
148
+ public let level: Swift::String
149
+ public let signals: [Swift::String]
150
+ public let timestamp: Foundation::Date
151
+ public init(score: Swift::Int, level: Swift::String, signals: [Swift::String], timestamp: Foundation::Date)
152
+ public static func == (a: LogDropSDK::RiskSnapshot, b: LogDropSDK::RiskSnapshot) -> Swift::Bool
153
+ }
154
+ public struct SessionThreatSnapshot : Swift::Equatable {
155
+ public let riskScore: Swift::Int
156
+ public let riskLevel: Swift::String
157
+ public let botScore: Swift::Int
158
+ public let botLabel: Swift::String
159
+ public let posture: Swift::String
160
+ public let reasons: [Swift::String]
161
+ public let timestamp: Foundation::Date
162
+ public init(riskScore: Swift::Int, riskLevel: Swift::String, botScore: Swift::Int, botLabel: Swift::String, posture: Swift::String, reasons: [Swift::String], timestamp: Foundation::Date)
163
+ public static func == (a: LogDropSDK::SessionThreatSnapshot, b: LogDropSDK::SessionThreatSnapshot) -> Swift::Bool
164
+ }
165
+ public struct AnyCodable : Swift::Codable {
190
166
  public let value: Any
191
167
  public init(_ value: Any)
192
- public init(from decoder: any Swift.Decoder) throws
193
- public func encode(to encoder: any Swift.Encoder) throws
168
+ public init(from decoder: any Swift::Decoder) throws
169
+ public func encode(to encoder: any Swift::Encoder) throws
194
170
  }
195
- public struct LogDropPushClick : Swift.Codable, Swift.Equatable, Swift.Sendable {
196
- public let doNothing: Swift.Bool
197
- public init(doNothing: Swift.Bool = false)
198
- public static func == (a: LogDropSDK.LogDropPushClick, b: LogDropSDK.LogDropPushClick) -> Swift.Bool
199
- public func encode(to encoder: any Swift.Encoder) throws
200
- public init(from decoder: any Swift.Decoder) throws
171
+ public struct LogDropPushClick : Swift::Codable, Swift::Equatable, Swift::Sendable {
172
+ public let doNothing: Swift::Bool
173
+ public init(doNothing: Swift::Bool = false)
174
+ public static func == (a: LogDropSDK::LogDropPushClick, b: LogDropSDK::LogDropPushClick) -> Swift::Bool
175
+ public func encode(to encoder: any Swift::Encoder) throws
176
+ public init(from decoder: any Swift::Decoder) throws
201
177
  }
202
- public enum LogDropDeeplinkMode : Swift.String, Swift.Codable, Swift.Equatable, Swift.Sendable {
178
+ public enum LogDropDeeplinkMode : Swift::String, Swift::Codable, Swift::Equatable, Swift::Sendable {
203
179
  case inline
204
180
  case internalBrowser
205
181
  case externalBrowser
206
- #if compiler(>=5.3) && $NonescapableTypes
207
- public init?(value: Swift.String?)
208
- #endif
209
- #if compiler(>=5.3) && $NonescapableTypes
210
- public init?(rawValue: Swift.String)
211
- #endif
212
- public typealias RawValue = Swift.String
213
- public var rawValue: Swift.String {
182
+ public init?(value: Swift::String?)
183
+ public init?(rawValue: Swift::String)
184
+ public typealias RawValue = Swift::String
185
+ public var rawValue: Swift::String {
214
186
  get
215
187
  }
216
188
  }
217
- public struct LogDropPushAction : Swift.Codable, Swift.Equatable, Swift.Sendable {
218
- public let kind: Swift.String?
219
- public let deeplinkMode: LogDropSDK.LogDropDeeplinkMode?
220
- public let target: Swift.String?
221
- public let fallbackTarget: Swift.String?
222
- #if compiler(>=5.3) && $NonescapableTypes
223
- public init(kind: Swift.String? = nil, deeplinkMode: LogDropSDK.LogDropDeeplinkMode? = nil, target: Swift.String? = nil, fallbackTarget: Swift.String? = nil)
224
- #endif
225
- public init(from decoder: any Swift.Decoder) throws
226
- public func encode(to encoder: any Swift.Encoder) throws
227
- public static func == (a: LogDropSDK.LogDropPushAction, b: LogDropSDK.LogDropPushAction) -> Swift.Bool
228
- }
229
- public struct LogDropInAppButton : Swift.Codable, Swift.Equatable, Swift.Sendable {
230
- public let label: Swift.String?
231
- public let action: LogDropSDK.LogDropPushAction?
232
- #if compiler(>=5.3) && $NonescapableTypes
233
- public init(label: Swift.String? = nil, action: LogDropSDK.LogDropPushAction? = nil)
234
- #endif
235
- public static func == (a: LogDropSDK.LogDropInAppButton, b: LogDropSDK.LogDropInAppButton) -> Swift.Bool
236
- public func encode(to encoder: any Swift.Encoder) throws
237
- public init(from decoder: any Swift.Decoder) throws
238
- }
239
- public struct LogDropInAppMessage : Swift.Codable, Swift.Equatable, Swift.Sendable {
240
- public let template: Swift.String?
241
- public let position: Swift.String?
242
- public let headline: Swift.String?
243
- public let body: Swift.String?
244
- public let imageUrl: Swift.String?
245
- public let primaryButton: LogDropSDK.LogDropInAppButton?
246
- public let secondaryButton: LogDropSDK.LogDropInAppButton?
247
- public let dismissible: Swift.Bool?
248
- public let isFullHeight: Swift.Bool?
249
- public let ttlSeconds: Swift.Int?
250
- #if compiler(>=5.3) && $NonescapableTypes
251
- public init(template: Swift.String? = nil, position: Swift.String? = nil, headline: Swift.String? = nil, body: Swift.String? = nil, imageUrl: Swift.String? = nil, primaryButton: LogDropSDK.LogDropInAppButton? = nil, secondaryButton: LogDropSDK.LogDropInAppButton? = nil, dismissible: Swift.Bool? = nil, isFullHeight: Swift.Bool? = nil, ttlSeconds: Swift.Int? = nil)
252
- #endif
253
- public static func == (a: LogDropSDK.LogDropInAppMessage, b: LogDropSDK.LogDropInAppMessage) -> Swift.Bool
254
- public func encode(to encoder: any Swift.Encoder) throws
255
- public init(from decoder: any Swift.Decoder) throws
256
- }
257
- public struct LogDropPushAnalyticsEvent : Swift.Codable, Swift.Equatable {
258
- public let eventCode: Swift.String
259
- public let eventName: Swift.String
260
- public let properties: [Swift.String : LogDropSDK.LogDropJSONValue]
261
- public init(eventCode: Swift.String, eventName: Swift.String, properties: [Swift.String : LogDropSDK.LogDropJSONValue] = [:])
262
- public static func == (a: LogDropSDK.LogDropPushAnalyticsEvent, b: LogDropSDK.LogDropPushAnalyticsEvent) -> Swift.Bool
263
- public func encode(to encoder: any Swift.Encoder) throws
264
- public init(from decoder: any Swift.Decoder) throws
265
- }
266
- public struct LogDropJSONValue : Swift.Codable, Swift.Equatable {
189
+ public struct LogDropPushAction : Swift::Codable, Swift::Equatable, Swift::Sendable {
190
+ public let kind: Swift::String?
191
+ public let deeplinkMode: LogDropSDK::LogDropDeeplinkMode?
192
+ public let target: Swift::String?
193
+ public let fallbackTarget: Swift::String?
194
+ public init(kind: Swift::String? = nil, deeplinkMode: LogDropSDK::LogDropDeeplinkMode? = nil, target: Swift::String? = nil, fallbackTarget: Swift::String? = nil)
195
+ public init(from decoder: any Swift::Decoder) throws
196
+ public func encode(to encoder: any Swift::Encoder) throws
197
+ public static func == (a: LogDropSDK::LogDropPushAction, b: LogDropSDK::LogDropPushAction) -> Swift::Bool
198
+ }
199
+ public struct LogDropInAppButton : Swift::Codable, Swift::Equatable, Swift::Sendable {
200
+ public let label: Swift::String?
201
+ public let action: LogDropSDK::LogDropPushAction?
202
+ public init(label: Swift::String? = nil, action: LogDropSDK::LogDropPushAction? = nil)
203
+ public static func == (a: LogDropSDK::LogDropInAppButton, b: LogDropSDK::LogDropInAppButton) -> Swift::Bool
204
+ public func encode(to encoder: any Swift::Encoder) throws
205
+ public init(from decoder: any Swift::Decoder) throws
206
+ }
207
+ public struct LogDropInAppMessage : Swift::Codable, Swift::Equatable, Swift::Sendable {
208
+ public let template: Swift::String?
209
+ public let position: Swift::String?
210
+ public let headline: Swift::String?
211
+ public let body: Swift::String?
212
+ public let imageUrl: Swift::String?
213
+ public let primaryButton: LogDropSDK::LogDropInAppButton?
214
+ public let secondaryButton: LogDropSDK::LogDropInAppButton?
215
+ public let dismissible: Swift::Bool?
216
+ public let isFullHeight: Swift::Bool?
217
+ public let ttlSeconds: Swift::Int?
218
+ public init(template: Swift::String? = nil, position: Swift::String? = nil, headline: Swift::String? = nil, body: Swift::String? = nil, imageUrl: Swift::String? = nil, primaryButton: LogDropSDK::LogDropInAppButton? = nil, secondaryButton: LogDropSDK::LogDropInAppButton? = nil, dismissible: Swift::Bool? = nil, isFullHeight: Swift::Bool? = nil, ttlSeconds: Swift::Int? = nil)
219
+ public static func == (a: LogDropSDK::LogDropInAppMessage, b: LogDropSDK::LogDropInAppMessage) -> Swift::Bool
220
+ public func encode(to encoder: any Swift::Encoder) throws
221
+ public init(from decoder: any Swift::Decoder) throws
222
+ }
223
+ public struct LogDropPushAnalyticsEvent : Swift::Codable, Swift::Equatable {
224
+ public let eventCode: Swift::String
225
+ public let eventName: Swift::String
226
+ public let properties: [Swift::String : LogDropSDK::LogDropJSONValue]
227
+ public init(eventCode: Swift::String, eventName: Swift::String, properties: [Swift::String : LogDropSDK::LogDropJSONValue] = [:])
228
+ public static func == (a: LogDropSDK::LogDropPushAnalyticsEvent, b: LogDropSDK::LogDropPushAnalyticsEvent) -> Swift::Bool
229
+ public func encode(to encoder: any Swift::Encoder) throws
230
+ public init(from decoder: any Swift::Decoder) throws
231
+ }
232
+ public struct LogDropJSONValue : Swift::Codable, Swift::Equatable {
267
233
  public let value: Any
268
234
  public init(_ value: Any)
269
- public init(from decoder: any Swift.Decoder) throws
270
- public func encode(to encoder: any Swift.Encoder) throws
271
- public static func == (lhs: LogDropSDK.LogDropJSONValue, rhs: LogDropSDK.LogDropJSONValue) -> Swift.Bool
235
+ public init(from decoder: any Swift::Decoder) throws
236
+ public func encode(to encoder: any Swift::Encoder) throws
237
+ public static func == (lhs: LogDropSDK::LogDropJSONValue, rhs: LogDropSDK::LogDropJSONValue) -> Swift::Bool
272
238
  }
273
239
  public struct LogDropPushPayload {
274
- public let notificationId: Swift.String?
275
- public let style: Swift.Int?
276
- public let type: Swift.Int?
277
- public let schemaVersion: Swift.Int?
278
- public let messageKind: Swift.String?
279
- public let title: Swift.String?
280
- public let message: Swift.String?
281
- public let rawExtras: [Swift.String : LogDropSDK.LogDropJSONValue]?
282
- public let click: LogDropSDK.LogDropPushClick?
283
- public let receiveEvent: LogDropSDK.LogDropPushAnalyticsEvent?
284
- public let clickEvent: LogDropSDK.LogDropPushAnalyticsEvent?
285
- public let action: LogDropSDK.LogDropPushAction?
286
- public let inApp: LogDropSDK.LogDropInAppMessage?
287
- public let userInfo: [Swift.AnyHashable : Any]
288
- #if compiler(>=5.3) && $NonescapableTypes
289
- public init(notificationId: Swift.String? = nil, style: Swift.Int? = nil, type: Swift.Int? = nil, schemaVersion: Swift.Int? = nil, messageKind: Swift.String? = nil, title: Swift.String? = nil, message: Swift.String? = nil, rawExtras: [Swift.String : LogDropSDK.LogDropJSONValue]? = nil, click: LogDropSDK.LogDropPushClick? = nil, receiveEvent: LogDropSDK.LogDropPushAnalyticsEvent? = nil, clickEvent: LogDropSDK.LogDropPushAnalyticsEvent? = nil, action: LogDropSDK.LogDropPushAction? = nil, inApp: LogDropSDK.LogDropInAppMessage? = nil, userInfo: [Swift.AnyHashable : Any] = [:])
290
- #endif
240
+ public let notificationId: Swift::String?
241
+ public let style: Swift::Int?
242
+ public let type: Swift::Int?
243
+ public let schemaVersion: Swift::Int?
244
+ public let messageKind: Swift::String?
245
+ public let title: Swift::String?
246
+ public let message: Swift::String?
247
+ public let rawExtras: [Swift::String : LogDropSDK::LogDropJSONValue]?
248
+ public let click: LogDropSDK::LogDropPushClick?
249
+ public let receiveEvent: LogDropSDK::LogDropPushAnalyticsEvent?
250
+ public let clickEvent: LogDropSDK::LogDropPushAnalyticsEvent?
251
+ public let action: LogDropSDK::LogDropPushAction?
252
+ public let inApp: LogDropSDK::LogDropInAppMessage?
253
+ public let userInfo: [Swift::AnyHashable : Any]
254
+ public init(notificationId: Swift::String? = nil, style: Swift::Int? = nil, type: Swift::Int? = nil, schemaVersion: Swift::Int? = nil, messageKind: Swift::String? = nil, title: Swift::String? = nil, message: Swift::String? = nil, rawExtras: [Swift::String : LogDropSDK::LogDropJSONValue]? = nil, click: LogDropSDK::LogDropPushClick? = nil, receiveEvent: LogDropSDK::LogDropPushAnalyticsEvent? = nil, clickEvent: LogDropSDK::LogDropPushAnalyticsEvent? = nil, action: LogDropSDK::LogDropPushAction? = nil, inApp: LogDropSDK::LogDropInAppMessage? = nil, userInfo: [Swift::AnyHashable : Any] = [:])
291
255
  }
292
256
  public protocol LogDropPushCallbacks : AnyObject {
293
- func onNotificationReceived(push: LogDropSDK.LogDropPushPayload)
294
- func onNotificationOpened(push: LogDropSDK.LogDropPushPayload)
295
- func onSilentPush(push: LogDropSDK.LogDropPushPayload)
257
+ func onNotificationReceived(push: LogDropSDK::LogDropPushPayload)
258
+ func onNotificationOpened(push: LogDropSDK::LogDropPushPayload)
259
+ func onSilentPush(push: LogDropSDK::LogDropPushPayload)
296
260
  }
297
- extension LogDropSDK.LogDropPushCallbacks {
298
- public func onNotificationReceived(push: LogDropSDK.LogDropPushPayload)
299
- public func onNotificationOpened(push: LogDropSDK.LogDropPushPayload)
300
- public func onSilentPush(push: LogDropSDK.LogDropPushPayload)
261
+ extension LogDropSDK::LogDropPushCallbacks {
262
+ public func onNotificationReceived(push: LogDropSDK::LogDropPushPayload)
263
+ public func onNotificationOpened(push: LogDropSDK::LogDropPushPayload)
264
+ public func onSilentPush(push: LogDropSDK::LogDropPushPayload)
301
265
  }
302
266
  public protocol LogDropPushDeeplinkHandler : AnyObject {
303
- func handle(action: LogDropSDK.LogDropPushAction, push: LogDropSDK.LogDropPushPayload) -> Swift.Bool
267
+ func handle(action: LogDropSDK::LogDropPushAction, push: LogDropSDK::LogDropPushPayload) -> Swift::Bool
304
268
  }
305
269
  public protocol LogDropInAppLifecycleCallbacks : AnyObject {
306
- func onInAppShown(push: LogDropSDK.LogDropPushPayload)
307
- func onInAppDismissed(push: LogDropSDK.LogDropPushPayload)
270
+ func onInAppShown(push: LogDropSDK::LogDropPushPayload)
271
+ func onInAppDismissed(push: LogDropSDK::LogDropPushPayload)
308
272
  }
309
- extension LogDropSDK.LogDropInAppLifecycleCallbacks {
310
- public func onInAppShown(push: LogDropSDK.LogDropPushPayload)
311
- public func onInAppDismissed(push: LogDropSDK.LogDropPushPayload)
273
+ extension LogDropSDK::LogDropInAppLifecycleCallbacks {
274
+ public func onInAppShown(push: LogDropSDK::LogDropPushPayload)
275
+ public func onInAppDismissed(push: LogDropSDK::LogDropPushPayload)
312
276
  }
313
277
  public protocol LogDropInternalBrowserLifecycleCallbacks : AnyObject {
314
- func onInternalBrowserShown(push: LogDropSDK.LogDropPushPayload, url: Swift.String)
315
- func onInternalBrowserDismissed(push: LogDropSDK.LogDropPushPayload, url: Swift.String)
278
+ func onInternalBrowserShown(push: LogDropSDK::LogDropPushPayload, url: Swift::String)
279
+ func onInternalBrowserDismissed(push: LogDropSDK::LogDropPushPayload, url: Swift::String)
316
280
  }
317
- extension LogDropSDK.LogDropInternalBrowserLifecycleCallbacks {
318
- public func onInternalBrowserShown(push: LogDropSDK.LogDropPushPayload, url: Swift.String)
319
- public func onInternalBrowserDismissed(push: LogDropSDK.LogDropPushPayload, url: Swift.String)
281
+ extension LogDropSDK::LogDropInternalBrowserLifecycleCallbacks {
282
+ public func onInternalBrowserShown(push: LogDropSDK::LogDropPushPayload, url: Swift::String)
283
+ public func onInternalBrowserDismissed(push: LogDropSDK::LogDropPushPayload, url: Swift::String)
320
284
  }
321
- public enum LogDropPopupShowResult : Swift.Sendable {
285
+ public enum LogDropPopupShowResult : Swift::Sendable {
322
286
  case shown
323
287
  case nothingToShow
324
288
  case notInitialized
325
- public static func == (a: LogDropSDK.LogDropPopupShowResult, b: LogDropSDK.LogDropPopupShowResult) -> Swift.Bool
326
- public func hash(into hasher: inout Swift.Hasher)
327
- public var hashValue: Swift.Int {
289
+ public static func == (a: LogDropSDK::LogDropPopupShowResult, b: LogDropSDK::LogDropPopupShowResult) -> Swift::Bool
290
+ public func hash(into hasher: inout Swift::Hasher)
291
+ public var hashValue: Swift::Int {
328
292
  get
329
293
  }
330
294
  }
331
295
  public protocol LogDropWhitelistActionCallback : AnyObject {
332
- func onWhitelistActionTaken(_ action: LogDropSDK.LogDropWhitelistAction)
296
+ func onWhitelistActionTaken(_ action: LogDropSDK::LogDropWhitelistAction)
333
297
  }
334
298
  public protocol LogDropRiskPolicyActionCallback : AnyObject {
335
- func onRiskPolicyActionTaken(_ action: LogDropSDK.LogDropRiskPolicyAction)
336
- }
337
- public struct LogDropWhitelistAction : Swift.Equatable {
338
- public let domain: Swift.String
339
- public let path: Swift.String
340
- public let method: Swift.String
341
- public let blocked: Swift.Bool
342
- public let actionsApplied: [Swift.String]
343
- public let title: Swift.String?
344
- public let message: Swift.String?
345
- public let buttonText: Swift.String?
346
- public static func == (a: LogDropSDK.LogDropWhitelistAction, b: LogDropSDK.LogDropWhitelistAction) -> Swift.Bool
347
- }
348
- public struct LogDropRiskPolicyAction : Swift.Equatable {
349
- public let actionIds: [Swift.Int]
350
- public let actionNames: [Swift.String]
351
- public let matchedEventIds: [Swift.Int]
352
- public let matchedRulePriorities: [Swift.Int]
353
- public let title: Swift.String?
354
- public let message: Swift.String?
355
- public let buttonText: Swift.String?
356
- public static func == (a: LogDropSDK.LogDropRiskPolicyAction, b: LogDropSDK.LogDropRiskPolicyAction) -> Swift.Bool
357
- }
358
- public enum FrameworkType : Swift.String, Swift.Codable {
299
+ func onRiskPolicyActionTaken(_ action: LogDropSDK::LogDropRiskPolicyAction)
300
+ }
301
+ public struct LogDropWhitelistAction : Swift::Equatable {
302
+ public let domain: Swift::String
303
+ public let path: Swift::String
304
+ public let method: Swift::String
305
+ public let blocked: Swift::Bool
306
+ public let actionsApplied: [Swift::String]
307
+ public let title: Swift::String?
308
+ public let message: Swift::String?
309
+ public let buttonText: Swift::String?
310
+ public static func == (a: LogDropSDK::LogDropWhitelistAction, b: LogDropSDK::LogDropWhitelistAction) -> Swift::Bool
311
+ }
312
+ public struct LogDropRiskPolicyAction : Swift::Equatable {
313
+ public let actionIds: [Swift::Int]
314
+ public let actionNames: [Swift::String]
315
+ public let matchedEventIds: [Swift::Int]
316
+ public let matchedRulePriorities: [Swift::Int]
317
+ public let title: Swift::String?
318
+ public let message: Swift::String?
319
+ public let buttonText: Swift::String?
320
+ public static func == (a: LogDropSDK::LogDropRiskPolicyAction, b: LogDropSDK::LogDropRiskPolicyAction) -> Swift::Bool
321
+ }
322
+ public enum FrameworkType : Swift::String, Swift::Codable {
359
323
  case native
360
324
  case reactNative
361
325
  case flutter
362
- #if compiler(>=5.3) && $NonescapableTypes
363
- public init?(rawValue: Swift.String)
364
- #endif
365
- public typealias RawValue = Swift.String
366
- public var rawValue: Swift.String {
326
+ public init?(rawValue: Swift::String)
327
+ public typealias RawValue = Swift::String
328
+ public var rawValue: Swift::String {
367
329
  get
368
330
  }
369
331
  }
370
- @objc @_inheritsConvenienceInitializers open class LogDropNotificationServiceExtension : UserNotifications.UNNotificationServiceExtension {
371
- #if compiler(>=5.3) && $NonescapableTypes
372
- open func logDropConfiguration() -> LogDropSDK.LogDropConfig?
373
- #endif
374
- @objc override dynamic open func didReceive(_ request: UserNotifications.UNNotificationRequest, withContentHandler contentHandler: @escaping (UserNotifications.UNNotificationContent) -> Swift.Void)
332
+ @objc @_inheritsConvenienceInitializers open class LogDropNotificationServiceExtension : UserNotifications::UNNotificationServiceExtension {
333
+ open func logDropConfiguration() -> LogDropSDK::LogDropConfig?
334
+ @objc override dynamic open func didReceive(_ request: UserNotifications::UNNotificationRequest, withContentHandler contentHandler: @escaping (UserNotifications::UNNotificationContent) -> Swift::Void)
375
335
  @objc override dynamic open func serviceExtensionTimeWillExpire()
376
336
  @objc override dynamic public init()
377
337
  @objc deinit
378
338
  }
379
- extension Foundation.URLSessionConfiguration {
339
+ extension Foundation::URLSessionConfiguration {
380
340
  @objc dynamic public class func enableConfigurationSwizzle()
381
341
  }
382
- public struct LogDropError : Foundation.LocalizedError {
383
- public var errorDescription: Swift.String?
384
- public var statusCode: Swift.Int?
385
- }
386
- extension LogDropSDK.LogDropDeeplinkMode : Swift.Hashable {}
387
- extension LogDropSDK.LogDropDeeplinkMode : Swift.RawRepresentable {}
388
- extension LogDropSDK.LogDropPopupShowResult : Swift.Equatable {}
389
- extension LogDropSDK.LogDropPopupShowResult : Swift.Hashable {}
390
- extension LogDropSDK.FrameworkType : Swift.Equatable {}
391
- extension LogDropSDK.FrameworkType : Swift.Hashable {}
392
- extension LogDropSDK.FrameworkType : Swift.RawRepresentable {}
342
+ public struct LogDropError : Foundation::LocalizedError {
343
+ public var errorDescription: Swift::String?
344
+ public var statusCode: Swift::Int?
345
+ }
346
+ extension LogDropSDK::LogDropDeeplinkMode : Swift::Hashable {}
347
+ extension LogDropSDK::LogDropDeeplinkMode : Swift::RawRepresentable {}
348
+ extension LogDropSDK::LogDropPopupShowResult : Swift::Equatable {}
349
+ extension LogDropSDK::LogDropPopupShowResult : Swift::Hashable {}
350
+ extension LogDropSDK::FrameworkType : Swift::Equatable {}
351
+ extension LogDropSDK::FrameworkType : Swift::Hashable {}
352
+ extension LogDropSDK::FrameworkType : Swift::RawRepresentable {}