@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.
- package/README.md +76 -4
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/logdropreactnative/LogDropReactNative.kt +1 -0
- package/android/src/main/java/com/logdropreactnative/LogDropReactNativeConfig.kt +11 -1
- package/android/src/main/java/com/logdropreactnative/LogDropReactNativeModule.kt +6 -0
- package/ios/LogDropReactNative.mm +1 -0
- package/ios/LogDropReactNative.swift +10 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/Info.plist +5 -5
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Alamofire_Alamofire.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/DeviceKit_DeviceKit.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseCore.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseCoreExtension.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseCoreInternal.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseCrashlytics.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseInstallations.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Firebase_FirebaseMessaging.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleDataTransport_GoogleDataTransport.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-AppDelegateSwizzler.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Environment.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Logger.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-NSData.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Network.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Reachability.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-UserDefaults.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Headers/LogDropSDK-Swift.h +74 -8
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/LogDropSDK +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios.abi.json +3200 -1483
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +253 -293
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios.swiftinterface +253 -293
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Modules/module.modulemap +0 -1
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/PLCrashReporter_CrashReporter.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Promises_FBLPromises.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/Promises_Promises.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/SwiftProtobuf_SwiftProtobuf.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64/LogDropSDK.framework/nanopb_nanopb.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Alamofire_Alamofire.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Alamofire_Alamofire.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/DeviceKit_DeviceKit.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/DeviceKit_DeviceKit.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCore.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCore.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCoreExtension.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCoreExtension.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCoreInternal.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCoreInternal.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCrashlytics.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseCrashlytics.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseInstallations.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseInstallations.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseMessaging.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Firebase_FirebaseMessaging.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleDataTransport_GoogleDataTransport.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleDataTransport_GoogleDataTransport.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-AppDelegateSwizzler.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-AppDelegateSwizzler.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Environment.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Environment.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Logger.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Logger.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-NSData.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-NSData.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Network.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Network.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Reachability.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-Reachability.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-UserDefaults.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/GoogleUtilities_GoogleUtilities-UserDefaults.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Headers/LogDropSDK-Swift.h +150 -18
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/LogDropSDK +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +3200 -1483
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +253 -293
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +253 -293
- 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
- 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
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/LogDropSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +253 -293
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Modules/module.modulemap +0 -1
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/PLCrashReporter_CrashReporter.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/PLCrashReporter_CrashReporter.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Promises_FBLPromises.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Promises_FBLPromises.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Promises_Promises.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/Promises_Promises.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/SwiftProtobuf_SwiftProtobuf.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/SwiftProtobuf_SwiftProtobuf.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/_CodeSignature/CodeResources +25 -25
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/nanopb_nanopb.bundle/Info.plist +0 -0
- package/ios-sdk/Frameworks/LogDropSDK.xcframework/ios-arm64_x86_64-simulator/LogDropSDK.framework/nanopb_nanopb.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios-sdk/LogDrop.podspec +2 -2
- package/ios-sdk/VERSION +1 -1
- package/lib/module/LogDrop.js +20 -0
- package/lib/module/LogDrop.js.map +1 -1
- package/lib/module/LogDropConfig.js +12 -1
- package/lib/module/LogDropConfig.js.map +1 -1
- package/lib/module/LogDropNavigation.js +58 -0
- package/lib/module/LogDropNavigation.js.map +1 -0
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/LogDrop.d.ts +11 -0
- package/lib/typescript/src/LogDrop.d.ts.map +1 -1
- package/lib/typescript/src/LogDropConfig.d.ts +13 -0
- package/lib/typescript/src/LogDropConfig.d.ts.map +1 -1
- package/lib/typescript/src/LogDropNavigation.d.ts +52 -0
- package/lib/typescript/src/LogDropNavigation.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +3 -2
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/LogDrop.ts +22 -0
- package/src/LogDropConfig.ts +18 -0
- package/src/LogDropNavigation.ts +89 -0
- 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.
|
|
3
|
-
// swift-module-flags: -target arm64-apple-
|
|
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-simulator -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
|
|
34
|
-
@objc @_Concurrency
|
|
35
|
+
extension WebKit::WKWebView {
|
|
36
|
+
@objc @_Concurrency::MainActor @preconcurrency public static func enableLogDropNetworkCaptureSwizzle()
|
|
35
37
|
}
|
|
36
|
-
@_inheritsConvenienceInitializers @objc(LogDropWKWebViewSwizzleHelper) final public class LogDropWKWebViewSwizzleHelper : ObjectiveC
|
|
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
|
|
42
|
-
|
|
43
|
-
public
|
|
44
|
-
|
|
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
|
|
49
|
+
public var appId: Swift::String
|
|
50
50
|
@available(*, deprecated, message: "Use appId instead.")
|
|
51
|
-
public var apiKey: Swift
|
|
51
|
+
public var apiKey: Swift::String {
|
|
52
52
|
get
|
|
53
53
|
set
|
|
54
54
|
}
|
|
55
|
-
public var secretKey: Swift
|
|
56
|
-
public var baseUrl: Swift
|
|
57
|
-
public var isLoggingEnabled: Swift
|
|
58
|
-
public var defaultSDKDisabled: Swift
|
|
59
|
-
public var frameworkType: LogDropSDK
|
|
60
|
-
public var pushCallbacks: (any LogDropSDK
|
|
61
|
-
public var pushDeeplinkHandler: (any LogDropSDK
|
|
62
|
-
public var inAppLifecycleCallbacks: (any LogDropSDK
|
|
63
|
-
public var internalBrowserLifecycleCallbacks: (any LogDropSDK
|
|
64
|
-
public var pushAppGroupSuiteName: Swift
|
|
65
|
-
public var whitelistActionCallback: (any LogDropSDK
|
|
66
|
-
public var riskPolicyActionCallback: (any LogDropSDK
|
|
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
|
|
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
|
|
72
|
-
public func setSecretKey(_ secretKey: Swift
|
|
73
|
-
public func setLoggingEnabled(_ isLoggingEnabled: Swift
|
|
74
|
-
public func setDefaultSDKDisabledValue(_ defaultSDKDisabled: Swift
|
|
75
|
-
public func setBaseUrl(_ baseUrl: Swift
|
|
76
|
-
public func setFrameworkType(_ frameworkType: LogDropSDK
|
|
77
|
-
|
|
78
|
-
public func
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
public func
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
public func
|
|
85
|
-
|
|
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
|
|
90
|
+
extension Foundation::URLSession {
|
|
103
91
|
public static func enableSessionInitSwizzle()
|
|
104
92
|
}
|
|
105
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class LogDrop : ObjectiveC
|
|
106
|
-
public static func initialize(with config: LogDropSDK
|
|
107
|
-
public static func setAppId(_ appId: Swift
|
|
108
|
-
public static func isHttpRequestTrackingEligible(_ urlString: Swift
|
|
109
|
-
@objc(logDropHttpRequestTrackingEligibility:) public static func httpRequestTrackingEligibility(_ urlString: Swift
|
|
110
|
-
@objc(logDropHttpRequestTrackingDecision:) public static func httpRequestTrackingDecision(_ urlString: Swift
|
|
111
|
-
|
|
112
|
-
public static func
|
|
113
|
-
|
|
114
|
-
public static func
|
|
115
|
-
|
|
116
|
-
public static func
|
|
117
|
-
public static func
|
|
118
|
-
public static func
|
|
119
|
-
public static func
|
|
120
|
-
public static func
|
|
121
|
-
public static func
|
|
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
|
|
126
|
-
|
|
127
|
-
public static func
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
public static func
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
public static func
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
public static func
|
|
137
|
-
|
|
138
|
-
public static func
|
|
139
|
-
public static func
|
|
140
|
-
|
|
141
|
-
public static func
|
|
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
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
public
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
public
|
|
171
|
-
public let
|
|
172
|
-
public let
|
|
173
|
-
public let
|
|
174
|
-
public
|
|
175
|
-
public
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
public
|
|
179
|
-
public let
|
|
180
|
-
public let
|
|
181
|
-
public let
|
|
182
|
-
public
|
|
183
|
-
public
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
public
|
|
187
|
-
public
|
|
188
|
-
|
|
189
|
-
public
|
|
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
|
|
193
|
-
public func encode(to encoder: any Swift
|
|
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
|
|
196
|
-
public let doNothing: Swift
|
|
197
|
-
public init(doNothing: Swift
|
|
198
|
-
public static func == (a: LogDropSDK
|
|
199
|
-
public func encode(to encoder: any Swift
|
|
200
|
-
public init(from decoder: any Swift
|
|
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
|
|
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
|
-
|
|
207
|
-
public init?(
|
|
208
|
-
|
|
209
|
-
|
|
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
|
|
218
|
-
public let kind: Swift
|
|
219
|
-
public let deeplinkMode: LogDropSDK
|
|
220
|
-
public let target: Swift
|
|
221
|
-
public let fallbackTarget: Swift
|
|
222
|
-
|
|
223
|
-
public init(
|
|
224
|
-
|
|
225
|
-
public
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
public
|
|
230
|
-
public
|
|
231
|
-
public
|
|
232
|
-
|
|
233
|
-
public init(
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
public
|
|
237
|
-
public
|
|
238
|
-
|
|
239
|
-
public
|
|
240
|
-
public let
|
|
241
|
-
public let
|
|
242
|
-
public let
|
|
243
|
-
public let
|
|
244
|
-
public let
|
|
245
|
-
public let
|
|
246
|
-
public
|
|
247
|
-
public
|
|
248
|
-
public
|
|
249
|
-
public
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
public
|
|
254
|
-
public
|
|
255
|
-
public init(
|
|
256
|
-
|
|
257
|
-
public
|
|
258
|
-
public
|
|
259
|
-
|
|
260
|
-
|
|
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
|
|
270
|
-
public func encode(to encoder: any Swift
|
|
271
|
-
public static func == (lhs: LogDropSDK
|
|
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
|
|
275
|
-
public let style: Swift
|
|
276
|
-
public let type: Swift
|
|
277
|
-
public let schemaVersion: Swift
|
|
278
|
-
public let messageKind: Swift
|
|
279
|
-
public let title: Swift
|
|
280
|
-
public let message: Swift
|
|
281
|
-
public let rawExtras: [Swift
|
|
282
|
-
public let click: LogDropSDK
|
|
283
|
-
public let receiveEvent: LogDropSDK
|
|
284
|
-
public let clickEvent: LogDropSDK
|
|
285
|
-
public let action: LogDropSDK
|
|
286
|
-
public let inApp: LogDropSDK
|
|
287
|
-
public let userInfo: [Swift
|
|
288
|
-
|
|
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
|
|
294
|
-
func onNotificationOpened(push: LogDropSDK
|
|
295
|
-
func onSilentPush(push: LogDropSDK
|
|
257
|
+
func onNotificationReceived(push: LogDropSDK::LogDropPushPayload)
|
|
258
|
+
func onNotificationOpened(push: LogDropSDK::LogDropPushPayload)
|
|
259
|
+
func onSilentPush(push: LogDropSDK::LogDropPushPayload)
|
|
296
260
|
}
|
|
297
|
-
extension LogDropSDK
|
|
298
|
-
public func onNotificationReceived(push: LogDropSDK
|
|
299
|
-
public func onNotificationOpened(push: LogDropSDK
|
|
300
|
-
public func onSilentPush(push: LogDropSDK
|
|
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
|
|
267
|
+
func handle(action: LogDropSDK::LogDropPushAction, push: LogDropSDK::LogDropPushPayload) -> Swift::Bool
|
|
304
268
|
}
|
|
305
269
|
public protocol LogDropInAppLifecycleCallbacks : AnyObject {
|
|
306
|
-
func onInAppShown(push: LogDropSDK
|
|
307
|
-
func onInAppDismissed(push: LogDropSDK
|
|
270
|
+
func onInAppShown(push: LogDropSDK::LogDropPushPayload)
|
|
271
|
+
func onInAppDismissed(push: LogDropSDK::LogDropPushPayload)
|
|
308
272
|
}
|
|
309
|
-
extension LogDropSDK
|
|
310
|
-
public func onInAppShown(push: LogDropSDK
|
|
311
|
-
public func onInAppDismissed(push: LogDropSDK
|
|
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
|
|
315
|
-
func onInternalBrowserDismissed(push: LogDropSDK
|
|
278
|
+
func onInternalBrowserShown(push: LogDropSDK::LogDropPushPayload, url: Swift::String)
|
|
279
|
+
func onInternalBrowserDismissed(push: LogDropSDK::LogDropPushPayload, url: Swift::String)
|
|
316
280
|
}
|
|
317
|
-
extension LogDropSDK
|
|
318
|
-
public func onInternalBrowserShown(push: LogDropSDK
|
|
319
|
-
public func onInternalBrowserDismissed(push: LogDropSDK
|
|
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
|
|
285
|
+
public enum LogDropPopupShowResult : Swift::Sendable {
|
|
322
286
|
case shown
|
|
323
287
|
case nothingToShow
|
|
324
288
|
case notInitialized
|
|
325
|
-
public static func == (a: LogDropSDK
|
|
326
|
-
public func hash(into hasher: inout Swift
|
|
327
|
-
public var hashValue: Swift
|
|
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
|
|
296
|
+
func onWhitelistActionTaken(_ action: LogDropSDK::LogDropWhitelistAction)
|
|
333
297
|
}
|
|
334
298
|
public protocol LogDropRiskPolicyActionCallback : AnyObject {
|
|
335
|
-
func onRiskPolicyActionTaken(_ action: LogDropSDK
|
|
336
|
-
}
|
|
337
|
-
public struct LogDropWhitelistAction : Swift
|
|
338
|
-
public let domain: Swift
|
|
339
|
-
public let path: Swift
|
|
340
|
-
public let method: Swift
|
|
341
|
-
public let blocked: Swift
|
|
342
|
-
public let actionsApplied: [Swift
|
|
343
|
-
public let title: Swift
|
|
344
|
-
public let message: Swift
|
|
345
|
-
public let buttonText: Swift
|
|
346
|
-
public static func == (a: LogDropSDK
|
|
347
|
-
}
|
|
348
|
-
public struct LogDropRiskPolicyAction : Swift
|
|
349
|
-
public let actionIds: [Swift
|
|
350
|
-
public let actionNames: [Swift
|
|
351
|
-
public let matchedEventIds: [Swift
|
|
352
|
-
public let matchedRulePriorities: [Swift
|
|
353
|
-
public let title: Swift
|
|
354
|
-
public let message: Swift
|
|
355
|
-
public let buttonText: Swift
|
|
356
|
-
public static func == (a: LogDropSDK
|
|
357
|
-
}
|
|
358
|
-
public enum FrameworkType : Swift
|
|
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
|
-
|
|
363
|
-
public
|
|
364
|
-
|
|
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
|
|
371
|
-
|
|
372
|
-
open func
|
|
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
|
|
339
|
+
extension Foundation::URLSessionConfiguration {
|
|
380
340
|
@objc dynamic public class func enableConfigurationSwizzle()
|
|
381
341
|
}
|
|
382
|
-
public struct LogDropError : Foundation
|
|
383
|
-
public var errorDescription: Swift
|
|
384
|
-
public var statusCode: Swift
|
|
385
|
-
}
|
|
386
|
-
extension LogDropSDK
|
|
387
|
-
extension LogDropSDK
|
|
388
|
-
extension LogDropSDK
|
|
389
|
-
extension LogDropSDK
|
|
390
|
-
extension LogDropSDK
|
|
391
|
-
extension LogDropSDK
|
|
392
|
-
extension LogDropSDK
|
|
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 {}
|