@grouplinknetwork/rn-grouplink-sdk 2.3.12 → 2.4.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/android/src/main/java/com/grouplinksdk/GrouplinkSdkModule.java +2 -2
- package/grouplink-sdk.podspec +2 -2
- package/ios/Frameworks/GroupLink-original.xcframework/Info.plist +59 -0
- package/ios/Frameworks/GroupLink-original.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/_CodeSignature/CodeResources +607 -0
- package/ios/Frameworks/GroupLink-original.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/GroupLink +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Headers/GroupLink-Swift.h +388 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Headers/GroupLink.h +18 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Info.plist +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.abi.json +9288 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/PrivacyInfo.xcprivacy +74 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/_CodeSignature/CodeResources +212 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64/GroupLink.framework/critical.aiff +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/GroupLink +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Headers/GroupLink-Swift.h +772 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Headers/GroupLink.h +18 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Info.plist +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.abi.json +9288 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.abi.json +9288 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/PrivacyInfo.xcprivacy +74 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/_CodeSignature/CodeResources +267 -0
- package/ios/Frameworks/GroupLink-original.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/critical.aiff +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/GroupLink +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Headers/GroupLink-Swift.h +744 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Headers/GroupLink.h +18 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/arm64-apple-macos.abi.json +8376 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/arm64-apple-macos.private.swiftinterface +175 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/arm64-apple-macos.swiftinterface +175 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/x86_64-apple-macos.abi.json +8376 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/x86_64-apple-macos.private.swiftinterface +175 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/GroupLink.swiftmodule/x86_64-apple-macos.swiftinterface +175 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Modules/module.modulemap +11 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Resources/Info.plist +46 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Resources/PrivacyInfo.xcprivacy +74 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/Resources/critical.aiff +0 -0
- package/ios/Frameworks/GroupLink-original.xcframework/macos-arm64_x86_64/GroupLink.framework/Versions/A/_CodeSignature/CodeResources +241 -0
- package/ios/Frameworks/GroupLink.xcframework/Info.plist +44 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/GroupLink +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Headers/GroupLink-Swift.h +388 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Headers/GroupLink.h +18 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Info.plist +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.abi.json +9288 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/PrivacyInfo.xcprivacy +74 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/_CodeSignature/CodeResources +212 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/critical.aiff +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/GroupLink +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Headers/GroupLink-Swift.h +772 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Headers/GroupLink.h +18 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Info.plist +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.abi.json +9288 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.abi.json +9288 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +202 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/module.modulemap +11 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/PrivacyInfo.xcprivacy +74 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/_CodeSignature/CodeResources +267 -0
- package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/critical.aiff +0 -0
- package/ios/GrouplinkSdk.m +1 -1
- package/ios/GrouplinkSdk.swift +4 -0
- package/ios/GrouplinkSdk.xcodeproj/project.pbxproj +27 -4
- package/ios/GrouplinkSdk.xcodeproj/project.xcworkspace/xcuserdata/alessandrodearaujo.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/lib/commonjs/index.js +23 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +20 -2
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/index.d.ts +3 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.tsx +23 -4
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.2.1 effective-5.10 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name GroupLink
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.1
|
|
5
|
+
import AVFAudio
|
|
6
|
+
import AVFoundation
|
|
7
|
+
import BackgroundTasks
|
|
8
|
+
import SystemConfiguration.CaptiveNetwork
|
|
9
|
+
import CommonCrypto
|
|
10
|
+
import Compression
|
|
11
|
+
import CoreBluetooth
|
|
12
|
+
import CoreLocation
|
|
13
|
+
import CoreTelephony
|
|
14
|
+
import CryptoKit
|
|
15
|
+
import Foundation
|
|
16
|
+
@_exported import GroupLink
|
|
17
|
+
import Network
|
|
18
|
+
import OSLog
|
|
19
|
+
import SQLite3
|
|
20
|
+
import Swift
|
|
21
|
+
import SystemConfiguration
|
|
22
|
+
import UIKit
|
|
23
|
+
import UserNotifications
|
|
24
|
+
import _Concurrency
|
|
25
|
+
import _StringProcessing
|
|
26
|
+
import _SwiftConcurrencyShims
|
|
27
|
+
@_hasMissingDesignatedInitializers @available(iOS 15, *)
|
|
28
|
+
final public class GLPush {
|
|
29
|
+
public static var SDK_VERSION: Swift.String {
|
|
30
|
+
get
|
|
31
|
+
}
|
|
32
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
33
|
+
public static var API_KEY: Swift.String? {
|
|
34
|
+
get
|
|
35
|
+
}
|
|
36
|
+
#endif
|
|
37
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
38
|
+
public static var UNIQUE_USER_ID: Swift.Int? {
|
|
39
|
+
get
|
|
40
|
+
}
|
|
41
|
+
#endif
|
|
42
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
43
|
+
public static var MODEL: Swift.String? {
|
|
44
|
+
get
|
|
45
|
+
}
|
|
46
|
+
#endif
|
|
47
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
48
|
+
public static var GET_NAME: Swift.String? {
|
|
49
|
+
get
|
|
50
|
+
}
|
|
51
|
+
#endif
|
|
52
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
53
|
+
public static var GET_APIKEY: Swift.String? {
|
|
54
|
+
get
|
|
55
|
+
}
|
|
56
|
+
#endif
|
|
57
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
58
|
+
public static var GET_UNINSTALL: Swift.Int? {
|
|
59
|
+
get
|
|
60
|
+
}
|
|
61
|
+
#endif
|
|
62
|
+
public static var SCAN_STATE: Swift.Bool {
|
|
63
|
+
get
|
|
64
|
+
}
|
|
65
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
66
|
+
public static var NETWORK_LOCK_COUNT: Swift.Int? {
|
|
67
|
+
get
|
|
68
|
+
}
|
|
69
|
+
#endif
|
|
70
|
+
public static var LAST_SEND_STATUS: Swift.Int {
|
|
71
|
+
get
|
|
72
|
+
}
|
|
73
|
+
public static func getLocation()
|
|
74
|
+
public static func convertToTime(time: Swift.Int) -> Swift.String
|
|
75
|
+
public static func setName(_ name: Swift.String)
|
|
76
|
+
public static func setApiKey(_ key: Swift.String) -> Swift.Bool
|
|
77
|
+
public static func sendStatus()
|
|
78
|
+
public static func insertNotification(_ notificationData: GroupLink.InfoAirNotificationData)
|
|
79
|
+
@objc deinit
|
|
80
|
+
}
|
|
81
|
+
public protocol HSLocationManagerDelegate {
|
|
82
|
+
func scheduledLocationManager(_ manager: GroupLink.HSLocationManager, didFailWithError error: any Swift.Error)
|
|
83
|
+
func scheduledLocationManager(_ manager: GroupLink.HSLocationManager, didUpdateLocations locations: [_LocationEssentials.CLLocation])
|
|
84
|
+
func scheduledLocationManager(_ manager: GroupLink.HSLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus)
|
|
85
|
+
}
|
|
86
|
+
@objc public class HSLocationManager : ObjectiveC.NSObject, CoreLocation.CLLocationManagerDelegate {
|
|
87
|
+
public var acceptableLocationAccuracy: Swift.Double {
|
|
88
|
+
get
|
|
89
|
+
}
|
|
90
|
+
public var checkLocationInterval: Swift.Double {
|
|
91
|
+
get
|
|
92
|
+
}
|
|
93
|
+
public var isRunning: Swift.Bool {
|
|
94
|
+
get
|
|
95
|
+
}
|
|
96
|
+
public init(delegate: any GroupLink.HSLocationManagerDelegate)
|
|
97
|
+
public func requestAlwaysAuthorization()
|
|
98
|
+
public func startUpdatingLocation(interval: Foundation.TimeInterval, acceptableLocationAccuracy: _LocationEssentials.CLLocationAccuracy = 100)
|
|
99
|
+
public func stopUpdatingLocation()
|
|
100
|
+
@objc public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus)
|
|
101
|
+
@objc public func locationManager(_ manager: CoreLocation.CLLocationManager, didFailWithError error: any Swift.Error)
|
|
102
|
+
@objc public func locationManager(_ manager: CoreLocation.CLLocationManager, didUpdateLocations locations: [_LocationEssentials.CLLocation])
|
|
103
|
+
@objc deinit
|
|
104
|
+
}
|
|
105
|
+
@_inheritsConvenienceInitializers @objc final public class GroupLinkNotifications : ObjectiveC.NSObject {
|
|
106
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
107
|
+
@objc public static func isGroupLinkNotification(request: UserNotifications.UNNotificationRequest, contentHandler: (UserNotifications.UNNotificationContent) -> Swift.Void, bestAttemptContent: UserNotifications.UNMutableNotificationContent?) -> Swift.Bool
|
|
108
|
+
#endif
|
|
109
|
+
@objc public static func GLNotificationDidReceive(_ center: UserNotifications.UNUserNotificationCenter, didReceive response: UserNotifications.UNNotificationResponse)
|
|
110
|
+
@objc public static func GLNotificationDidReceive(_ center: UserNotifications.UNUserNotificationCenter, didReceive response: UserNotifications.UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Swift.Void)
|
|
111
|
+
@objc public static func setRemoteNotificationToken(_ token: Swift.String)
|
|
112
|
+
public static func userNotificationCenter(_ center: UserNotifications.UNUserNotificationCenter, didReceive response: UserNotifications.UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Swift.Void)
|
|
113
|
+
@objc override dynamic public init()
|
|
114
|
+
@objc deinit
|
|
115
|
+
}
|
|
116
|
+
public enum CryptoError : Swift.Error {
|
|
117
|
+
case COULD_NOT_FETCH_DEVICE_KEY
|
|
118
|
+
case COULD_NOT_CONVERT_DATA_TO_BASE64
|
|
119
|
+
case COULD_NOT_CONVERT_DATA_TO_ENCRYPTMODEL
|
|
120
|
+
case COULD_NOT_ENCODE_ENCRYPTMODEL
|
|
121
|
+
case COULD_NOT_CONVERT_TO_FINAL_DATA
|
|
122
|
+
case COULD_NOT_SEAL_DATA
|
|
123
|
+
case COULD_NOT_GENERATE_SEALEDBOX
|
|
124
|
+
case COULD_NOT_OPEN_SEALEDBOX
|
|
125
|
+
public static func == (a: GroupLink.CryptoError, b: GroupLink.CryptoError) -> Swift.Bool
|
|
126
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
127
|
+
public var hashValue: Swift.Int {
|
|
128
|
+
get
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
@_inheritsConvenienceInitializers @objc final public class GroupLinkSDK : ObjectiveC.NSObject {
|
|
132
|
+
@available(*, deprecated, message: "Use start(withToken: )")
|
|
133
|
+
public static func start(token: Swift.String)
|
|
134
|
+
@available(*, deprecated, message: "Use GroupLinkNotifications.setRemoteNotificationToken(_ token: String)")
|
|
135
|
+
@objc public static func sendNotificationToken(_ token: Swift.String)
|
|
136
|
+
@objc public static func start(withToken token: Swift.String)
|
|
137
|
+
@objc public static func startBluetooth()
|
|
138
|
+
@objc public static func checkBluetooth()
|
|
139
|
+
@objc public static func startLocation()
|
|
140
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
141
|
+
@objc public static func getUserID() -> Swift.String?
|
|
142
|
+
#endif
|
|
143
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
144
|
+
@objc public static func getCurrentVersion() -> Swift.String?
|
|
145
|
+
#endif
|
|
146
|
+
@objc public static func setNotificationName(_ name: Swift.String)
|
|
147
|
+
@objc override dynamic public init()
|
|
148
|
+
@objc deinit
|
|
149
|
+
}
|
|
150
|
+
extension GroupLink.GroupLinkSDK {
|
|
151
|
+
@objc public enum EventType : Swift.Int, Swift.Codable {
|
|
152
|
+
case whenEnter = 0
|
|
153
|
+
case whenVisiting = 1
|
|
154
|
+
case whenExit = 2
|
|
155
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
156
|
+
public init?(rawValue: Swift.Int)
|
|
157
|
+
#endif
|
|
158
|
+
public typealias RawValue = Swift.Int
|
|
159
|
+
public var rawValue: Swift.Int {
|
|
160
|
+
get
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
@objc public static func setEventNotifierDelegate(_ delegate: any GroupLink.EventNotifierDelegate)
|
|
164
|
+
@objc public static func whenVisitingTimer(_ timer: Swift.Int)
|
|
165
|
+
}
|
|
166
|
+
prefix operator /
|
|
167
|
+
@objc public protocol EventNotifierDelegate {
|
|
168
|
+
@objc func eventNotifier(_ eventType: GroupLink.GroupLinkSDK.EventType, _ deviceID: Swift.Int, _ duration: Swift.Int)
|
|
169
|
+
}
|
|
170
|
+
public struct InfoAirNotificationData : Swift.Codable {
|
|
171
|
+
public let idRef: Swift.String
|
|
172
|
+
public let notificationID: Swift.Int
|
|
173
|
+
public let title: Swift.String
|
|
174
|
+
public let subtitle: Swift.String?
|
|
175
|
+
public let body: Swift.String
|
|
176
|
+
public let category: GroupLink.InfoAirNotificationCategory
|
|
177
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
178
|
+
public init(idRef: Swift.String, notificationID: Swift.Int, title: Swift.String, subtitle: Swift.String?, body: Swift.String, category: GroupLink.InfoAirNotificationCategory)
|
|
179
|
+
#endif
|
|
180
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
181
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
182
|
+
}
|
|
183
|
+
public enum InfoAirNotificationCategory : Swift.String, Swift.Codable {
|
|
184
|
+
case simple
|
|
185
|
+
case rich
|
|
186
|
+
case critical
|
|
187
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
188
|
+
public init?(rawValue: Swift.String)
|
|
189
|
+
#endif
|
|
190
|
+
public typealias RawValue = Swift.String
|
|
191
|
+
public var rawValue: Swift.String {
|
|
192
|
+
get
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
extension GroupLink.CryptoError : Swift.Equatable {}
|
|
196
|
+
extension GroupLink.CryptoError : Swift.Hashable {}
|
|
197
|
+
extension GroupLink.GroupLinkSDK.EventType : Swift.Equatable {}
|
|
198
|
+
extension GroupLink.GroupLinkSDK.EventType : Swift.Hashable {}
|
|
199
|
+
extension GroupLink.GroupLinkSDK.EventType : Swift.RawRepresentable {}
|
|
200
|
+
extension GroupLink.InfoAirNotificationCategory : Swift.Equatable {}
|
|
201
|
+
extension GroupLink.InfoAirNotificationCategory : Swift.Hashable {}
|
|
202
|
+
extension GroupLink.InfoAirNotificationCategory : Swift.RawRepresentable {}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.2.1 effective-5.10 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name GroupLink
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2.1
|
|
5
|
+
import AVFAudio
|
|
6
|
+
import AVFoundation
|
|
7
|
+
import BackgroundTasks
|
|
8
|
+
import SystemConfiguration.CaptiveNetwork
|
|
9
|
+
import CommonCrypto
|
|
10
|
+
import Compression
|
|
11
|
+
import CoreBluetooth
|
|
12
|
+
import CoreLocation
|
|
13
|
+
import CoreTelephony
|
|
14
|
+
import CryptoKit
|
|
15
|
+
import Foundation
|
|
16
|
+
@_exported import GroupLink
|
|
17
|
+
import Network
|
|
18
|
+
import OSLog
|
|
19
|
+
import SQLite3
|
|
20
|
+
import Swift
|
|
21
|
+
import SystemConfiguration
|
|
22
|
+
import UIKit
|
|
23
|
+
import UserNotifications
|
|
24
|
+
import _Concurrency
|
|
25
|
+
import _StringProcessing
|
|
26
|
+
import _SwiftConcurrencyShims
|
|
27
|
+
@_hasMissingDesignatedInitializers @available(iOS 15, *)
|
|
28
|
+
final public class GLPush {
|
|
29
|
+
public static var SDK_VERSION: Swift.String {
|
|
30
|
+
get
|
|
31
|
+
}
|
|
32
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
33
|
+
public static var API_KEY: Swift.String? {
|
|
34
|
+
get
|
|
35
|
+
}
|
|
36
|
+
#endif
|
|
37
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
38
|
+
public static var UNIQUE_USER_ID: Swift.Int? {
|
|
39
|
+
get
|
|
40
|
+
}
|
|
41
|
+
#endif
|
|
42
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
43
|
+
public static var MODEL: Swift.String? {
|
|
44
|
+
get
|
|
45
|
+
}
|
|
46
|
+
#endif
|
|
47
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
48
|
+
public static var GET_NAME: Swift.String? {
|
|
49
|
+
get
|
|
50
|
+
}
|
|
51
|
+
#endif
|
|
52
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
53
|
+
public static var GET_APIKEY: Swift.String? {
|
|
54
|
+
get
|
|
55
|
+
}
|
|
56
|
+
#endif
|
|
57
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
58
|
+
public static var GET_UNINSTALL: Swift.Int? {
|
|
59
|
+
get
|
|
60
|
+
}
|
|
61
|
+
#endif
|
|
62
|
+
public static var SCAN_STATE: Swift.Bool {
|
|
63
|
+
get
|
|
64
|
+
}
|
|
65
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
66
|
+
public static var NETWORK_LOCK_COUNT: Swift.Int? {
|
|
67
|
+
get
|
|
68
|
+
}
|
|
69
|
+
#endif
|
|
70
|
+
public static var LAST_SEND_STATUS: Swift.Int {
|
|
71
|
+
get
|
|
72
|
+
}
|
|
73
|
+
public static func getLocation()
|
|
74
|
+
public static func convertToTime(time: Swift.Int) -> Swift.String
|
|
75
|
+
public static func setName(_ name: Swift.String)
|
|
76
|
+
public static func setApiKey(_ key: Swift.String) -> Swift.Bool
|
|
77
|
+
public static func sendStatus()
|
|
78
|
+
public static func insertNotification(_ notificationData: GroupLink.InfoAirNotificationData)
|
|
79
|
+
@objc deinit
|
|
80
|
+
}
|
|
81
|
+
public protocol HSLocationManagerDelegate {
|
|
82
|
+
func scheduledLocationManager(_ manager: GroupLink.HSLocationManager, didFailWithError error: any Swift.Error)
|
|
83
|
+
func scheduledLocationManager(_ manager: GroupLink.HSLocationManager, didUpdateLocations locations: [_LocationEssentials.CLLocation])
|
|
84
|
+
func scheduledLocationManager(_ manager: GroupLink.HSLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus)
|
|
85
|
+
}
|
|
86
|
+
@objc public class HSLocationManager : ObjectiveC.NSObject, CoreLocation.CLLocationManagerDelegate {
|
|
87
|
+
public var acceptableLocationAccuracy: Swift.Double {
|
|
88
|
+
get
|
|
89
|
+
}
|
|
90
|
+
public var checkLocationInterval: Swift.Double {
|
|
91
|
+
get
|
|
92
|
+
}
|
|
93
|
+
public var isRunning: Swift.Bool {
|
|
94
|
+
get
|
|
95
|
+
}
|
|
96
|
+
public init(delegate: any GroupLink.HSLocationManagerDelegate)
|
|
97
|
+
public func requestAlwaysAuthorization()
|
|
98
|
+
public func startUpdatingLocation(interval: Foundation.TimeInterval, acceptableLocationAccuracy: _LocationEssentials.CLLocationAccuracy = 100)
|
|
99
|
+
public func stopUpdatingLocation()
|
|
100
|
+
@objc public func locationManager(_ manager: CoreLocation.CLLocationManager, didChangeAuthorization status: CoreLocation.CLAuthorizationStatus)
|
|
101
|
+
@objc public func locationManager(_ manager: CoreLocation.CLLocationManager, didFailWithError error: any Swift.Error)
|
|
102
|
+
@objc public func locationManager(_ manager: CoreLocation.CLLocationManager, didUpdateLocations locations: [_LocationEssentials.CLLocation])
|
|
103
|
+
@objc deinit
|
|
104
|
+
}
|
|
105
|
+
@_inheritsConvenienceInitializers @objc final public class GroupLinkNotifications : ObjectiveC.NSObject {
|
|
106
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
107
|
+
@objc public static func isGroupLinkNotification(request: UserNotifications.UNNotificationRequest, contentHandler: (UserNotifications.UNNotificationContent) -> Swift.Void, bestAttemptContent: UserNotifications.UNMutableNotificationContent?) -> Swift.Bool
|
|
108
|
+
#endif
|
|
109
|
+
@objc public static func GLNotificationDidReceive(_ center: UserNotifications.UNUserNotificationCenter, didReceive response: UserNotifications.UNNotificationResponse)
|
|
110
|
+
@objc public static func GLNotificationDidReceive(_ center: UserNotifications.UNUserNotificationCenter, didReceive response: UserNotifications.UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Swift.Void)
|
|
111
|
+
@objc public static func setRemoteNotificationToken(_ token: Swift.String)
|
|
112
|
+
public static func userNotificationCenter(_ center: UserNotifications.UNUserNotificationCenter, didReceive response: UserNotifications.UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Swift.Void)
|
|
113
|
+
@objc override dynamic public init()
|
|
114
|
+
@objc deinit
|
|
115
|
+
}
|
|
116
|
+
public enum CryptoError : Swift.Error {
|
|
117
|
+
case COULD_NOT_FETCH_DEVICE_KEY
|
|
118
|
+
case COULD_NOT_CONVERT_DATA_TO_BASE64
|
|
119
|
+
case COULD_NOT_CONVERT_DATA_TO_ENCRYPTMODEL
|
|
120
|
+
case COULD_NOT_ENCODE_ENCRYPTMODEL
|
|
121
|
+
case COULD_NOT_CONVERT_TO_FINAL_DATA
|
|
122
|
+
case COULD_NOT_SEAL_DATA
|
|
123
|
+
case COULD_NOT_GENERATE_SEALEDBOX
|
|
124
|
+
case COULD_NOT_OPEN_SEALEDBOX
|
|
125
|
+
public static func == (a: GroupLink.CryptoError, b: GroupLink.CryptoError) -> Swift.Bool
|
|
126
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
127
|
+
public var hashValue: Swift.Int {
|
|
128
|
+
get
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
@_inheritsConvenienceInitializers @objc final public class GroupLinkSDK : ObjectiveC.NSObject {
|
|
132
|
+
@available(*, deprecated, message: "Use start(withToken: )")
|
|
133
|
+
public static func start(token: Swift.String)
|
|
134
|
+
@available(*, deprecated, message: "Use GroupLinkNotifications.setRemoteNotificationToken(_ token: String)")
|
|
135
|
+
@objc public static func sendNotificationToken(_ token: Swift.String)
|
|
136
|
+
@objc public static func start(withToken token: Swift.String)
|
|
137
|
+
@objc public static func startBluetooth()
|
|
138
|
+
@objc public static func checkBluetooth()
|
|
139
|
+
@objc public static func startLocation()
|
|
140
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
141
|
+
@objc public static func getUserID() -> Swift.String?
|
|
142
|
+
#endif
|
|
143
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
144
|
+
@objc public static func getCurrentVersion() -> Swift.String?
|
|
145
|
+
#endif
|
|
146
|
+
@objc public static func setNotificationName(_ name: Swift.String)
|
|
147
|
+
@objc override dynamic public init()
|
|
148
|
+
@objc deinit
|
|
149
|
+
}
|
|
150
|
+
extension GroupLink.GroupLinkSDK {
|
|
151
|
+
@objc public enum EventType : Swift.Int, Swift.Codable {
|
|
152
|
+
case whenEnter = 0
|
|
153
|
+
case whenVisiting = 1
|
|
154
|
+
case whenExit = 2
|
|
155
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
156
|
+
public init?(rawValue: Swift.Int)
|
|
157
|
+
#endif
|
|
158
|
+
public typealias RawValue = Swift.Int
|
|
159
|
+
public var rawValue: Swift.Int {
|
|
160
|
+
get
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
@objc public static func setEventNotifierDelegate(_ delegate: any GroupLink.EventNotifierDelegate)
|
|
164
|
+
@objc public static func whenVisitingTimer(_ timer: Swift.Int)
|
|
165
|
+
}
|
|
166
|
+
prefix operator /
|
|
167
|
+
@objc public protocol EventNotifierDelegate {
|
|
168
|
+
@objc func eventNotifier(_ eventType: GroupLink.GroupLinkSDK.EventType, _ deviceID: Swift.Int, _ duration: Swift.Int)
|
|
169
|
+
}
|
|
170
|
+
public struct InfoAirNotificationData : Swift.Codable {
|
|
171
|
+
public let idRef: Swift.String
|
|
172
|
+
public let notificationID: Swift.Int
|
|
173
|
+
public let title: Swift.String
|
|
174
|
+
public let subtitle: Swift.String?
|
|
175
|
+
public let body: Swift.String
|
|
176
|
+
public let category: GroupLink.InfoAirNotificationCategory
|
|
177
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
178
|
+
public init(idRef: Swift.String, notificationID: Swift.Int, title: Swift.String, subtitle: Swift.String?, body: Swift.String, category: GroupLink.InfoAirNotificationCategory)
|
|
179
|
+
#endif
|
|
180
|
+
public func encode(to encoder: any Swift.Encoder) throws
|
|
181
|
+
public init(from decoder: any Swift.Decoder) throws
|
|
182
|
+
}
|
|
183
|
+
public enum InfoAirNotificationCategory : Swift.String, Swift.Codable {
|
|
184
|
+
case simple
|
|
185
|
+
case rich
|
|
186
|
+
case critical
|
|
187
|
+
#if compiler(>=5.3) && $NonescapableTypes
|
|
188
|
+
public init?(rawValue: Swift.String)
|
|
189
|
+
#endif
|
|
190
|
+
public typealias RawValue = Swift.String
|
|
191
|
+
public var rawValue: Swift.String {
|
|
192
|
+
get
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
extension GroupLink.CryptoError : Swift.Equatable {}
|
|
196
|
+
extension GroupLink.CryptoError : Swift.Hashable {}
|
|
197
|
+
extension GroupLink.GroupLinkSDK.EventType : Swift.Equatable {}
|
|
198
|
+
extension GroupLink.GroupLinkSDK.EventType : Swift.Hashable {}
|
|
199
|
+
extension GroupLink.GroupLinkSDK.EventType : Swift.RawRepresentable {}
|
|
200
|
+
extension GroupLink.InfoAirNotificationCategory : Swift.Equatable {}
|
|
201
|
+
extension GroupLink.InfoAirNotificationCategory : Swift.Hashable {}
|
|
202
|
+
extension GroupLink.InfoAirNotificationCategory : Swift.RawRepresentable {}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>NSPrivacyCollectedDataTypes</key>
|
|
6
|
+
<array>
|
|
7
|
+
<dict>
|
|
8
|
+
<key>NSPrivacyCollectedDataType</key>
|
|
9
|
+
<string>NSPrivacyCollectedDataTypeOtherDataTypes</string>
|
|
10
|
+
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
11
|
+
<false/>
|
|
12
|
+
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
13
|
+
<false/>
|
|
14
|
+
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
15
|
+
<array>
|
|
16
|
+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
17
|
+
</array>
|
|
18
|
+
</dict>
|
|
19
|
+
<dict>
|
|
20
|
+
<key>NSPrivacyCollectedDataType</key>
|
|
21
|
+
<string>NSPrivacyCollectedDataTypeCoarseLocation</string>
|
|
22
|
+
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
23
|
+
<false/>
|
|
24
|
+
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
25
|
+
<false/>
|
|
26
|
+
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
27
|
+
<array>
|
|
28
|
+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
29
|
+
</array>
|
|
30
|
+
</dict>
|
|
31
|
+
<dict>
|
|
32
|
+
<key>NSPrivacyCollectedDataType</key>
|
|
33
|
+
<string>NSPrivacyCollectedDataTypePreciseLocation</string>
|
|
34
|
+
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
35
|
+
<false/>
|
|
36
|
+
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
37
|
+
<false/>
|
|
38
|
+
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
39
|
+
<array>
|
|
40
|
+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
41
|
+
</array>
|
|
42
|
+
</dict>
|
|
43
|
+
</array>
|
|
44
|
+
<key>NSPrivacyAccessedAPITypes</key>
|
|
45
|
+
<array>
|
|
46
|
+
<dict>
|
|
47
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
48
|
+
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
|
|
49
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
50
|
+
<array>
|
|
51
|
+
<string>35F9.1</string>
|
|
52
|
+
</array>
|
|
53
|
+
</dict>
|
|
54
|
+
<dict>
|
|
55
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
56
|
+
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
|
|
57
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
58
|
+
<array>
|
|
59
|
+
<string>E174.1</string>
|
|
60
|
+
</array>
|
|
61
|
+
</dict>
|
|
62
|
+
<dict>
|
|
63
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
64
|
+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
|
65
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
66
|
+
<array>
|
|
67
|
+
<string>C617.1</string>
|
|
68
|
+
</array>
|
|
69
|
+
</dict>
|
|
70
|
+
</array>
|
|
71
|
+
<key>NSPrivacyTracking</key>
|
|
72
|
+
<false/>
|
|
73
|
+
</dict>
|
|
74
|
+
</plist>
|