@grouplinknetwork/rn-grouplink-sdk 2.7.0-beta.1 → 2.8.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 (48) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/java/com/grouplinksdk/GrouplinkSdkModule.java +4 -2
  3. package/grouplink-sdk.podspec +3 -3
  4. package/ios/Frameworks/.gitkeep +0 -0
  5. package/ios/GrouplinkSdk.mm +6 -2
  6. package/ios/GrouplinkSdk.swift +2 -2
  7. package/ios/GrouplinkSdk.xcodeproj/project.pbxproj +1 -9
  8. package/lib/commonjs/index.js +3 -3
  9. package/lib/commonjs/index.js.map +1 -1
  10. package/lib/module/index.js +3 -3
  11. package/lib/module/index.js.map +1 -1
  12. package/lib/typescript/index.d.ts +1 -1
  13. package/lib/typescript/index.d.ts.map +1 -1
  14. package/package.json +17 -9
  15. package/src/index.tsx +4 -4
  16. package/ios/Frameworks/GroupLink.xcframework/Info.plist +0 -44
  17. package/ios/Frameworks/GroupLink.xcframework/_CodeSignature/CodeDirectory +0 -0
  18. package/ios/Frameworks/GroupLink.xcframework/_CodeSignature/CodeRequirements +0 -0
  19. package/ios/Frameworks/GroupLink.xcframework/_CodeSignature/CodeResources +0 -574
  20. package/ios/Frameworks/GroupLink.xcframework/_CodeSignature/CodeSignature +0 -0
  21. package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/GroupLink +0 -0
  22. package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Headers/GroupLink-Swift.h +0 -443
  23. package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Headers/GroupLink.h +0 -18
  24. package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Info.plist +0 -0
  25. package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.abi.json +0 -6487
  26. package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -90
  27. package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  28. package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios.swiftinterface +0 -90
  29. package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/Modules/module.modulemap +0 -10
  30. package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/PrivacyInfo.xcprivacy +0 -74
  31. package/ios/Frameworks/GroupLink.xcframework/ios-arm64/GroupLink.framework/_CodeSignature/CodeResources +0 -201
  32. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/GroupLink +0 -0
  33. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Headers/GroupLink-Swift.h +0 -882
  34. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Headers/GroupLink.h +0 -18
  35. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Info.plist +0 -0
  36. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -6487
  37. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -90
  38. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  39. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -90
  40. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -6487
  41. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -90
  42. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  43. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/GroupLink.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -90
  44. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/Modules/module.modulemap +0 -10
  45. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/PrivacyInfo.xcprivacy +0 -74
  46. package/ios/Frameworks/GroupLink.xcframework/ios-arm64_x86_64-simulator/GroupLink.framework/_CodeSignature/CodeResources +0 -256
  47. package/ios/GrouplinkSdk.xcodeproj/project.xcworkspace/xcuserdata/gabrieltorelo.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  48. package/ios/GrouplinkSdk.xcodeproj/xcuserdata/gabrieltorelo.xcuserdatad/xcschemes/xcschememanagement.plist +0 -22
@@ -1,882 +0,0 @@
1
- #if 0
2
- #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
4
- #ifndef GROUPLINK_SWIFT_H
5
- #define GROUPLINK_SWIFT_H
6
- #pragma clang diagnostic push
7
- #pragma clang diagnostic ignored "-Wgcc-compat"
8
-
9
- #if !defined(__has_include)
10
- # define __has_include(x) 0
11
- #endif
12
- #if !defined(__has_attribute)
13
- # define __has_attribute(x) 0
14
- #endif
15
- #if !defined(__has_feature)
16
- # define __has_feature(x) 0
17
- #endif
18
- #if !defined(__has_warning)
19
- # define __has_warning(x) 0
20
- #endif
21
-
22
- #if __has_include(<swift/objc-prologue.h>)
23
- # include <swift/objc-prologue.h>
24
- #endif
25
-
26
- #pragma clang diagnostic ignored "-Wauto-import"
27
- #if defined(__OBJC__)
28
- #include <Foundation/Foundation.h>
29
- #endif // defined(__OBJC__)
30
- #if defined(__cplusplus)
31
- #include <cstdint>
32
- #include <cstddef>
33
- #include <cstdbool>
34
- #include <cstring>
35
- #include <stdlib.h>
36
- #include <new>
37
- #include <type_traits>
38
- #else
39
- #include <stdint.h>
40
- #include <stddef.h>
41
- #include <stdbool.h>
42
- #include <string.h>
43
- #endif
44
- #if defined(__cplusplus)
45
- #pragma clang diagnostic push
46
- #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
47
- #if defined(__arm64e__) && __has_include(<ptrauth.h>)
48
- # include <ptrauth.h>
49
- #else
50
- #pragma clang diagnostic push
51
- #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
52
- # ifndef __ptrauth_swift_value_witness_function_pointer
53
- # define __ptrauth_swift_value_witness_function_pointer(x)
54
- # endif
55
- # ifndef __ptrauth_swift_class_method_pointer
56
- # define __ptrauth_swift_class_method_pointer(x)
57
- # endif
58
- #pragma clang diagnostic pop
59
- #endif
60
- #pragma clang diagnostic pop
61
- #endif
62
-
63
- #if !defined(SWIFT_TYPEDEFS)
64
- # define SWIFT_TYPEDEFS 1
65
- # if __has_include(<uchar.h>)
66
- # include <uchar.h>
67
- # elif !defined(__cplusplus)
68
- typedef unsigned char char8_t;
69
- typedef uint_least16_t char16_t;
70
- typedef uint_least32_t char32_t;
71
- # endif
72
- typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
73
- typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
74
- typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
75
- typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
76
- typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
77
- typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
78
- typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
79
- typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
80
- typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
81
- typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
82
- typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
83
- typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
84
- #endif
85
-
86
- #if !defined(SWIFT_PASTE)
87
- # define SWIFT_PASTE_HELPER(x, y) x##y
88
- # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
89
- #endif
90
- #if !defined(SWIFT_METATYPE)
91
- # define SWIFT_METATYPE(X) Class
92
- #endif
93
- #if !defined(SWIFT_CLASS_PROPERTY)
94
- # if __has_feature(objc_class_property)
95
- # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
96
- # else
97
- # define SWIFT_CLASS_PROPERTY(...)
98
- # endif
99
- #endif
100
- #if !defined(SWIFT_RUNTIME_NAME)
101
- # if __has_attribute(objc_runtime_name)
102
- # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
103
- # else
104
- # define SWIFT_RUNTIME_NAME(X)
105
- # endif
106
- #endif
107
- #if !defined(SWIFT_COMPILE_NAME)
108
- # if __has_attribute(swift_name)
109
- # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
110
- # else
111
- # define SWIFT_COMPILE_NAME(X)
112
- # endif
113
- #endif
114
- #if !defined(SWIFT_METHOD_FAMILY)
115
- # if __has_attribute(objc_method_family)
116
- # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
117
- # else
118
- # define SWIFT_METHOD_FAMILY(X)
119
- # endif
120
- #endif
121
- #if !defined(SWIFT_NOESCAPE)
122
- # if __has_attribute(noescape)
123
- # define SWIFT_NOESCAPE __attribute__((noescape))
124
- # else
125
- # define SWIFT_NOESCAPE
126
- # endif
127
- #endif
128
- #if !defined(SWIFT_RELEASES_ARGUMENT)
129
- # if __has_attribute(ns_consumed)
130
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
131
- # else
132
- # define SWIFT_RELEASES_ARGUMENT
133
- # endif
134
- #endif
135
- #if !defined(SWIFT_WARN_UNUSED_RESULT)
136
- # if __has_attribute(warn_unused_result)
137
- # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
138
- # else
139
- # define SWIFT_WARN_UNUSED_RESULT
140
- # endif
141
- #endif
142
- #if !defined(SWIFT_NORETURN)
143
- # if __has_attribute(noreturn)
144
- # define SWIFT_NORETURN __attribute__((noreturn))
145
- # else
146
- # define SWIFT_NORETURN
147
- # endif
148
- #endif
149
- #if !defined(SWIFT_CLASS_EXTRA)
150
- # define SWIFT_CLASS_EXTRA
151
- #endif
152
- #if !defined(SWIFT_PROTOCOL_EXTRA)
153
- # define SWIFT_PROTOCOL_EXTRA
154
- #endif
155
- #if !defined(SWIFT_ENUM_EXTRA)
156
- # define SWIFT_ENUM_EXTRA
157
- #endif
158
- #if !defined(SWIFT_CLASS)
159
- # if __has_attribute(objc_subclassing_restricted)
160
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
161
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
162
- # else
163
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
164
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
165
- # endif
166
- #endif
167
- #if !defined(SWIFT_RESILIENT_CLASS)
168
- # if __has_attribute(objc_class_stub)
169
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
170
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
171
- # else
172
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
173
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
174
- # endif
175
- #endif
176
- #if !defined(SWIFT_PROTOCOL)
177
- # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
178
- # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
179
- #endif
180
- #if !defined(SWIFT_EXTENSION)
181
- # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
182
- #endif
183
- #if !defined(OBJC_DESIGNATED_INITIALIZER)
184
- # if __has_attribute(objc_designated_initializer)
185
- # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
186
- # else
187
- # define OBJC_DESIGNATED_INITIALIZER
188
- # endif
189
- #endif
190
- #if !defined(SWIFT_ENUM_ATTR)
191
- # if __has_attribute(enum_extensibility)
192
- # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
193
- # else
194
- # define SWIFT_ENUM_ATTR(_extensibility)
195
- # endif
196
- #endif
197
- #if !defined(SWIFT_ENUM)
198
- # if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
199
- # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
200
- # if __has_feature(generalized_swift_name)
201
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
202
- # else
203
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
204
- # endif
205
- # else
206
- # define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
207
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
208
- # endif
209
- #endif
210
- #if !defined(SWIFT_ENUM_TAG)
211
- # if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
212
- # define SWIFT_ENUM_TAG enum
213
- # else
214
- # define SWIFT_ENUM_TAG
215
- # endif
216
- #endif
217
- #if !defined(SWIFT_ENUM_FWD_DECL)
218
- # if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
219
- # define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
220
- # else
221
- # define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
222
- # endif
223
- #endif
224
- #if !defined(SWIFT_UNAVAILABLE)
225
- # define SWIFT_UNAVAILABLE __attribute__((unavailable))
226
- #endif
227
- #if !defined(SWIFT_UNAVAILABLE_MSG)
228
- # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
229
- #endif
230
- #if !defined(SWIFT_AVAILABILITY)
231
- # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
232
- #endif
233
- #if !defined(SWIFT_AVAILABILITY_DOMAIN)
234
- # define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
235
- #endif
236
- #if !defined(SWIFT_WEAK_IMPORT)
237
- # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
238
- #endif
239
- #if !defined(SWIFT_DEPRECATED)
240
- # define SWIFT_DEPRECATED __attribute__((deprecated))
241
- #endif
242
- #if !defined(SWIFT_DEPRECATED_MSG)
243
- # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
244
- #endif
245
- #if !defined(SWIFT_DEPRECATED_OBJC)
246
- # if __has_feature(attribute_diagnose_if_objc)
247
- # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
248
- # else
249
- # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
250
- # endif
251
- #endif
252
- #if defined(__OBJC__)
253
- #if !defined(IBSegueAction)
254
- # define IBSegueAction
255
- #endif
256
- #endif
257
- #if !defined(SWIFT_EXTERN)
258
- # if defined(__cplusplus)
259
- # define SWIFT_EXTERN extern "C"
260
- # else
261
- # define SWIFT_EXTERN extern
262
- # endif
263
- #endif
264
- #if !defined(SWIFT_CALL)
265
- # define SWIFT_CALL __attribute__((swiftcall))
266
- #endif
267
- #if !defined(SWIFT_INDIRECT_RESULT)
268
- # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
269
- #endif
270
- #if !defined(SWIFT_CONTEXT)
271
- # define SWIFT_CONTEXT __attribute__((swift_context))
272
- #endif
273
- #if !defined(SWIFT_ERROR_RESULT)
274
- # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
275
- #endif
276
- #if defined(__cplusplus)
277
- # define SWIFT_NOEXCEPT noexcept
278
- #else
279
- # define SWIFT_NOEXCEPT
280
- #endif
281
- #if !defined(SWIFT_C_INLINE_THUNK)
282
- # if __has_attribute(always_inline)
283
- # if __has_attribute(nodebug)
284
- # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
285
- # else
286
- # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
287
- # endif
288
- # else
289
- # define SWIFT_C_INLINE_THUNK inline
290
- # endif
291
- #endif
292
- #if defined(_WIN32)
293
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
294
- # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
295
- #endif
296
- #else
297
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
298
- # define SWIFT_IMPORT_STDLIB_SYMBOL
299
- #endif
300
- #endif
301
- #if !__has_feature(nullability)
302
- # define _Nonnull
303
- # define _Nullable
304
- # define _Null_unspecified
305
- #elif !defined(__OBJC__)
306
- # pragma clang diagnostic ignored "-Wnullability-extension"
307
- #endif
308
- #if !__has_feature(nullability_nullable_result)
309
- # define _Nullable_result _Nullable
310
- #endif
311
- #if __has_feature(objc_modules)
312
- #if __has_warning("-Watimport-in-framework-header")
313
- #pragma clang diagnostic ignored "-Watimport-in-framework-header"
314
- #endif
315
- #endif
316
-
317
- #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
318
- #pragma clang diagnostic ignored "-Wduplicate-method-arg"
319
- #if __has_warning("-Wpragma-clang-attribute")
320
- # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
321
- #endif
322
- #pragma clang diagnostic ignored "-Wunknown-pragmas"
323
- #pragma clang diagnostic ignored "-Wnullability"
324
- #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
325
- #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
326
-
327
- #if __has_attribute(external_source_symbol)
328
- # pragma push_macro("any")
329
- # undef any
330
- # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="GroupLink",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
331
- # pragma pop_macro("any")
332
- #endif
333
-
334
- #if defined(__cplusplus)
335
- extern "C" {
336
- #endif
337
-
338
- #if defined(__cplusplus)
339
- } // extern "C"
340
- #endif
341
- #if __has_attribute(external_source_symbol)
342
- # pragma clang attribute pop
343
- #endif
344
- #if defined(__OBJC__)
345
- #if __has_feature(objc_modules)
346
- #if __has_warning("-Watimport-in-framework-header")
347
- #pragma clang diagnostic ignored "-Watimport-in-framework-header"
348
- #endif
349
- @import ObjectiveC;
350
- #endif
351
-
352
- #endif // defined(__OBJC__)
353
- #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
354
- #pragma clang diagnostic ignored "-Wduplicate-method-arg"
355
- #if __has_warning("-Wpragma-clang-attribute")
356
- # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
357
- #endif
358
- #pragma clang diagnostic ignored "-Wunknown-pragmas"
359
- #pragma clang diagnostic ignored "-Wnullability"
360
- #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
361
- #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
362
-
363
- #if __has_attribute(external_source_symbol)
364
- # pragma push_macro("any")
365
- # undef any
366
- # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="GroupLink",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
367
- # pragma pop_macro("any")
368
- #endif
369
-
370
- #if defined(__OBJC__)
371
-
372
- @class UNNotificationRequest;
373
- @class UNNotificationContent;
374
- @class UNMutableNotificationContent;
375
- @class UNUserNotificationCenter;
376
- @class UNNotificationResponse;
377
- @class NSString;
378
- SWIFT_CLASS("_TtC9GroupLink22GroupLinkNotifications")
379
- @interface GroupLinkNotifications : NSObject
380
- + (BOOL)isGroupLinkNotificationWithRequest:(UNNotificationRequest * _Nonnull)request contentHandler:(void (^ _Nonnull)(UNNotificationContent * _Nonnull))contentHandler bestAttemptContent:(UNMutableNotificationContent * _Nullable)bestAttemptContent SWIFT_WARN_UNUSED_RESULT;
381
- + (void)GLNotificationDidReceive:(UNUserNotificationCenter * _Nonnull)center didReceive:(UNNotificationResponse * _Nonnull)response;
382
- + (void)GLNotificationDidReceive:(UNUserNotificationCenter * _Nonnull)center didReceive:(UNNotificationResponse * _Nonnull)response withCompletionHandler:(void (^ _Nonnull)(void))completionHandler;
383
- + (void)setRemoteNotificationToken:(NSString * _Nonnull)token;
384
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
385
- @end
386
-
387
- SWIFT_CLASS("_TtC9GroupLink12GroupLinkSDK")
388
- @interface GroupLinkSDK : NSObject
389
- /// Method deprecated. Use <code>start(appLabel: )</code> instead.
390
- /// This method was used to register the app with GroupLink using the provided token,
391
- /// but it is now replaced by the <code>start(appLabel: )</code> method.
392
- + (void)startWithToken:(NSString * _Nonnull)token SWIFT_DEPRECATED_MSG("Use start(appLabel: )");
393
- /// Registers the app with GroupLink using the provided appLabel. This method initializes
394
- /// the proximity detector and sets up the necessary configurations for GroupLink to function properly.
395
- /// The appLabel is required to identify the app in the backend.
396
- /// Warning: It is strongly advised to request any necessary runtime permissions after the user launches your
397
- /// application for the first time. In scenarios where your application features a login page, failure to request
398
- /// these permissions may result in incomplete user registration.
399
- + (void)startWithAppLabel:(NSString * _Nonnull)appLabel;
400
- /// Starts the Bluetooth scanning and advertising services.
401
- /// Note: Should be called after the app has been registered with GroupLink and Bluetooth permissions have been granted.
402
- + (void)startBluetooth;
403
- /// Checks the Bluetooth permission status.
404
- /// This method verifies if the app has the necessary Bluetooth permissions to function properly.
405
- + (void)checkBluetooth;
406
- /// Starts the location services for proximity detection.
407
- /// This method initializes the location manager to enable location-based proximity detection.
408
- /// Note: Should be called after the app has been registered with GroupLink and location permissions have been granted.
409
- + (void)startLocation;
410
- /// Retrieves the user id.
411
- /// The user id is used to identify the user in the backend. The user id is set by receiving the value
412
- /// from the GroupLink backend and setting it automatically. If the user id is not set, it will return <code>nil</code>.
413
- + (NSString * _Nullable)getUserID SWIFT_WARN_UNUSED_RESULT;
414
- + (void)getDeviceKeyOnResult:(void (^ _Nonnull)(NSString * _Nonnull))onResult onError:(void (^ _Nonnull)(NSString * _Nonnull))onError;
415
- /// Retrieves the current SDK version.
416
- + (NSString * _Nonnull)getCurrentVersion SWIFT_WARN_UNUSED_RESULT;
417
- /// Method deprecated. Use <code>setRemoteId(_ name: String)</code> instead.
418
- /// This method was used to set the notification name for the device,
419
- /// but it is now replaced by the <code>setRemoteId(_ name: String)</code> method.
420
- + (void)setNotificationName:(NSString * _Nonnull)name SWIFT_DEPRECATED_MSG("Use setRemoteId(_ name: String) instead. Notification name is now remote id, and it is used to identify the device in the backend.\nIt is recommended to use a unique identifier for each device, such as a UUID or the user id.");
421
- /// Sets the remote id for the device.
422
- /// The remote id is used to identify the device in the backend.
423
- /// It is recommended to use a unique identifier for each device, such as a UUID or the user id.
424
- + (void)setRemoteId:(NSString * _Nonnull)name;
425
- /// Persist an APNs token and notify the backend.
426
- + (void)sendNotificationToken:(NSString * _Nonnull)token SWIFT_DEPRECATED_MSG("Use GroupLinkNotifications.setRemoteNotificationToken(_ token: String)");
427
- /// Returns true if the device has Developer Mode enabled
428
- + (BOOL)isDeveloperMode SWIFT_WARN_UNUSED_RESULT;
429
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
430
- @end
431
-
432
- #endif // defined(__OBJC__)
433
- #if __has_attribute(external_source_symbol)
434
- # pragma clang attribute pop
435
- #endif
436
- #if defined(__cplusplus)
437
- #endif
438
- #pragma clang diagnostic pop
439
- #endif
440
-
441
- #elif defined(__x86_64__) && __x86_64__
442
- // Generated by Apple Swift version 6.3.3 effective-5.10 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)
443
- #ifndef GROUPLINK_SWIFT_H
444
- #define GROUPLINK_SWIFT_H
445
- #pragma clang diagnostic push
446
- #pragma clang diagnostic ignored "-Wgcc-compat"
447
-
448
- #if !defined(__has_include)
449
- # define __has_include(x) 0
450
- #endif
451
- #if !defined(__has_attribute)
452
- # define __has_attribute(x) 0
453
- #endif
454
- #if !defined(__has_feature)
455
- # define __has_feature(x) 0
456
- #endif
457
- #if !defined(__has_warning)
458
- # define __has_warning(x) 0
459
- #endif
460
-
461
- #if __has_include(<swift/objc-prologue.h>)
462
- # include <swift/objc-prologue.h>
463
- #endif
464
-
465
- #pragma clang diagnostic ignored "-Wauto-import"
466
- #if defined(__OBJC__)
467
- #include <Foundation/Foundation.h>
468
- #endif // defined(__OBJC__)
469
- #if defined(__cplusplus)
470
- #include <cstdint>
471
- #include <cstddef>
472
- #include <cstdbool>
473
- #include <cstring>
474
- #include <stdlib.h>
475
- #include <new>
476
- #include <type_traits>
477
- #else
478
- #include <stdint.h>
479
- #include <stddef.h>
480
- #include <stdbool.h>
481
- #include <string.h>
482
- #endif
483
- #if defined(__cplusplus)
484
- #pragma clang diagnostic push
485
- #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
486
- #if defined(__arm64e__) && __has_include(<ptrauth.h>)
487
- # include <ptrauth.h>
488
- #else
489
- #pragma clang diagnostic push
490
- #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
491
- # ifndef __ptrauth_swift_value_witness_function_pointer
492
- # define __ptrauth_swift_value_witness_function_pointer(x)
493
- # endif
494
- # ifndef __ptrauth_swift_class_method_pointer
495
- # define __ptrauth_swift_class_method_pointer(x)
496
- # endif
497
- #pragma clang diagnostic pop
498
- #endif
499
- #pragma clang diagnostic pop
500
- #endif
501
-
502
- #if !defined(SWIFT_TYPEDEFS)
503
- # define SWIFT_TYPEDEFS 1
504
- # if __has_include(<uchar.h>)
505
- # include <uchar.h>
506
- # elif !defined(__cplusplus)
507
- typedef unsigned char char8_t;
508
- typedef uint_least16_t char16_t;
509
- typedef uint_least32_t char32_t;
510
- # endif
511
- typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
512
- typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
513
- typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
514
- typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
515
- typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
516
- typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
517
- typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
518
- typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
519
- typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
520
- typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
521
- typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
522
- typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
523
- #endif
524
-
525
- #if !defined(SWIFT_PASTE)
526
- # define SWIFT_PASTE_HELPER(x, y) x##y
527
- # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
528
- #endif
529
- #if !defined(SWIFT_METATYPE)
530
- # define SWIFT_METATYPE(X) Class
531
- #endif
532
- #if !defined(SWIFT_CLASS_PROPERTY)
533
- # if __has_feature(objc_class_property)
534
- # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
535
- # else
536
- # define SWIFT_CLASS_PROPERTY(...)
537
- # endif
538
- #endif
539
- #if !defined(SWIFT_RUNTIME_NAME)
540
- # if __has_attribute(objc_runtime_name)
541
- # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
542
- # else
543
- # define SWIFT_RUNTIME_NAME(X)
544
- # endif
545
- #endif
546
- #if !defined(SWIFT_COMPILE_NAME)
547
- # if __has_attribute(swift_name)
548
- # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
549
- # else
550
- # define SWIFT_COMPILE_NAME(X)
551
- # endif
552
- #endif
553
- #if !defined(SWIFT_METHOD_FAMILY)
554
- # if __has_attribute(objc_method_family)
555
- # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
556
- # else
557
- # define SWIFT_METHOD_FAMILY(X)
558
- # endif
559
- #endif
560
- #if !defined(SWIFT_NOESCAPE)
561
- # if __has_attribute(noescape)
562
- # define SWIFT_NOESCAPE __attribute__((noescape))
563
- # else
564
- # define SWIFT_NOESCAPE
565
- # endif
566
- #endif
567
- #if !defined(SWIFT_RELEASES_ARGUMENT)
568
- # if __has_attribute(ns_consumed)
569
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
570
- # else
571
- # define SWIFT_RELEASES_ARGUMENT
572
- # endif
573
- #endif
574
- #if !defined(SWIFT_WARN_UNUSED_RESULT)
575
- # if __has_attribute(warn_unused_result)
576
- # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
577
- # else
578
- # define SWIFT_WARN_UNUSED_RESULT
579
- # endif
580
- #endif
581
- #if !defined(SWIFT_NORETURN)
582
- # if __has_attribute(noreturn)
583
- # define SWIFT_NORETURN __attribute__((noreturn))
584
- # else
585
- # define SWIFT_NORETURN
586
- # endif
587
- #endif
588
- #if !defined(SWIFT_CLASS_EXTRA)
589
- # define SWIFT_CLASS_EXTRA
590
- #endif
591
- #if !defined(SWIFT_PROTOCOL_EXTRA)
592
- # define SWIFT_PROTOCOL_EXTRA
593
- #endif
594
- #if !defined(SWIFT_ENUM_EXTRA)
595
- # define SWIFT_ENUM_EXTRA
596
- #endif
597
- #if !defined(SWIFT_CLASS)
598
- # if __has_attribute(objc_subclassing_restricted)
599
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
600
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
601
- # else
602
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
603
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
604
- # endif
605
- #endif
606
- #if !defined(SWIFT_RESILIENT_CLASS)
607
- # if __has_attribute(objc_class_stub)
608
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
609
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
610
- # else
611
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
612
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
613
- # endif
614
- #endif
615
- #if !defined(SWIFT_PROTOCOL)
616
- # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
617
- # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
618
- #endif
619
- #if !defined(SWIFT_EXTENSION)
620
- # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
621
- #endif
622
- #if !defined(OBJC_DESIGNATED_INITIALIZER)
623
- # if __has_attribute(objc_designated_initializer)
624
- # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
625
- # else
626
- # define OBJC_DESIGNATED_INITIALIZER
627
- # endif
628
- #endif
629
- #if !defined(SWIFT_ENUM_ATTR)
630
- # if __has_attribute(enum_extensibility)
631
- # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
632
- # else
633
- # define SWIFT_ENUM_ATTR(_extensibility)
634
- # endif
635
- #endif
636
- #if !defined(SWIFT_ENUM)
637
- # if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
638
- # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
639
- # if __has_feature(generalized_swift_name)
640
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
641
- # else
642
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
643
- # endif
644
- # else
645
- # define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
646
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
647
- # endif
648
- #endif
649
- #if !defined(SWIFT_ENUM_TAG)
650
- # if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
651
- # define SWIFT_ENUM_TAG enum
652
- # else
653
- # define SWIFT_ENUM_TAG
654
- # endif
655
- #endif
656
- #if !defined(SWIFT_ENUM_FWD_DECL)
657
- # if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
658
- # define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
659
- # else
660
- # define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
661
- # endif
662
- #endif
663
- #if !defined(SWIFT_UNAVAILABLE)
664
- # define SWIFT_UNAVAILABLE __attribute__((unavailable))
665
- #endif
666
- #if !defined(SWIFT_UNAVAILABLE_MSG)
667
- # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
668
- #endif
669
- #if !defined(SWIFT_AVAILABILITY)
670
- # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
671
- #endif
672
- #if !defined(SWIFT_AVAILABILITY_DOMAIN)
673
- # define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
674
- #endif
675
- #if !defined(SWIFT_WEAK_IMPORT)
676
- # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
677
- #endif
678
- #if !defined(SWIFT_DEPRECATED)
679
- # define SWIFT_DEPRECATED __attribute__((deprecated))
680
- #endif
681
- #if !defined(SWIFT_DEPRECATED_MSG)
682
- # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
683
- #endif
684
- #if !defined(SWIFT_DEPRECATED_OBJC)
685
- # if __has_feature(attribute_diagnose_if_objc)
686
- # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
687
- # else
688
- # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
689
- # endif
690
- #endif
691
- #if defined(__OBJC__)
692
- #if !defined(IBSegueAction)
693
- # define IBSegueAction
694
- #endif
695
- #endif
696
- #if !defined(SWIFT_EXTERN)
697
- # if defined(__cplusplus)
698
- # define SWIFT_EXTERN extern "C"
699
- # else
700
- # define SWIFT_EXTERN extern
701
- # endif
702
- #endif
703
- #if !defined(SWIFT_CALL)
704
- # define SWIFT_CALL __attribute__((swiftcall))
705
- #endif
706
- #if !defined(SWIFT_INDIRECT_RESULT)
707
- # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
708
- #endif
709
- #if !defined(SWIFT_CONTEXT)
710
- # define SWIFT_CONTEXT __attribute__((swift_context))
711
- #endif
712
- #if !defined(SWIFT_ERROR_RESULT)
713
- # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
714
- #endif
715
- #if defined(__cplusplus)
716
- # define SWIFT_NOEXCEPT noexcept
717
- #else
718
- # define SWIFT_NOEXCEPT
719
- #endif
720
- #if !defined(SWIFT_C_INLINE_THUNK)
721
- # if __has_attribute(always_inline)
722
- # if __has_attribute(nodebug)
723
- # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
724
- # else
725
- # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
726
- # endif
727
- # else
728
- # define SWIFT_C_INLINE_THUNK inline
729
- # endif
730
- #endif
731
- #if defined(_WIN32)
732
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
733
- # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
734
- #endif
735
- #else
736
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
737
- # define SWIFT_IMPORT_STDLIB_SYMBOL
738
- #endif
739
- #endif
740
- #if !__has_feature(nullability)
741
- # define _Nonnull
742
- # define _Nullable
743
- # define _Null_unspecified
744
- #elif !defined(__OBJC__)
745
- # pragma clang diagnostic ignored "-Wnullability-extension"
746
- #endif
747
- #if !__has_feature(nullability_nullable_result)
748
- # define _Nullable_result _Nullable
749
- #endif
750
- #if __has_feature(objc_modules)
751
- #if __has_warning("-Watimport-in-framework-header")
752
- #pragma clang diagnostic ignored "-Watimport-in-framework-header"
753
- #endif
754
- #endif
755
-
756
- #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
757
- #pragma clang diagnostic ignored "-Wduplicate-method-arg"
758
- #if __has_warning("-Wpragma-clang-attribute")
759
- # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
760
- #endif
761
- #pragma clang diagnostic ignored "-Wunknown-pragmas"
762
- #pragma clang diagnostic ignored "-Wnullability"
763
- #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
764
- #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
765
-
766
- #if __has_attribute(external_source_symbol)
767
- # pragma push_macro("any")
768
- # undef any
769
- # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="GroupLink",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
770
- # pragma pop_macro("any")
771
- #endif
772
-
773
- #if defined(__cplusplus)
774
- extern "C" {
775
- #endif
776
-
777
- #if defined(__cplusplus)
778
- } // extern "C"
779
- #endif
780
- #if __has_attribute(external_source_symbol)
781
- # pragma clang attribute pop
782
- #endif
783
- #if defined(__OBJC__)
784
- #if __has_feature(objc_modules)
785
- #if __has_warning("-Watimport-in-framework-header")
786
- #pragma clang diagnostic ignored "-Watimport-in-framework-header"
787
- #endif
788
- @import ObjectiveC;
789
- #endif
790
-
791
- #endif // defined(__OBJC__)
792
- #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
793
- #pragma clang diagnostic ignored "-Wduplicate-method-arg"
794
- #if __has_warning("-Wpragma-clang-attribute")
795
- # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
796
- #endif
797
- #pragma clang diagnostic ignored "-Wunknown-pragmas"
798
- #pragma clang diagnostic ignored "-Wnullability"
799
- #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
800
- #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
801
-
802
- #if __has_attribute(external_source_symbol)
803
- # pragma push_macro("any")
804
- # undef any
805
- # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="GroupLink",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
806
- # pragma pop_macro("any")
807
- #endif
808
-
809
- #if defined(__OBJC__)
810
-
811
- @class UNNotificationRequest;
812
- @class UNNotificationContent;
813
- @class UNMutableNotificationContent;
814
- @class UNUserNotificationCenter;
815
- @class UNNotificationResponse;
816
- @class NSString;
817
- SWIFT_CLASS("_TtC9GroupLink22GroupLinkNotifications")
818
- @interface GroupLinkNotifications : NSObject
819
- + (BOOL)isGroupLinkNotificationWithRequest:(UNNotificationRequest * _Nonnull)request contentHandler:(void (^ _Nonnull)(UNNotificationContent * _Nonnull))contentHandler bestAttemptContent:(UNMutableNotificationContent * _Nullable)bestAttemptContent SWIFT_WARN_UNUSED_RESULT;
820
- + (void)GLNotificationDidReceive:(UNUserNotificationCenter * _Nonnull)center didReceive:(UNNotificationResponse * _Nonnull)response;
821
- + (void)GLNotificationDidReceive:(UNUserNotificationCenter * _Nonnull)center didReceive:(UNNotificationResponse * _Nonnull)response withCompletionHandler:(void (^ _Nonnull)(void))completionHandler;
822
- + (void)setRemoteNotificationToken:(NSString * _Nonnull)token;
823
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
824
- @end
825
-
826
- SWIFT_CLASS("_TtC9GroupLink12GroupLinkSDK")
827
- @interface GroupLinkSDK : NSObject
828
- /// Method deprecated. Use <code>start(appLabel: )</code> instead.
829
- /// This method was used to register the app with GroupLink using the provided token,
830
- /// but it is now replaced by the <code>start(appLabel: )</code> method.
831
- + (void)startWithToken:(NSString * _Nonnull)token SWIFT_DEPRECATED_MSG("Use start(appLabel: )");
832
- /// Registers the app with GroupLink using the provided appLabel. This method initializes
833
- /// the proximity detector and sets up the necessary configurations for GroupLink to function properly.
834
- /// The appLabel is required to identify the app in the backend.
835
- /// Warning: It is strongly advised to request any necessary runtime permissions after the user launches your
836
- /// application for the first time. In scenarios where your application features a login page, failure to request
837
- /// these permissions may result in incomplete user registration.
838
- + (void)startWithAppLabel:(NSString * _Nonnull)appLabel;
839
- /// Starts the Bluetooth scanning and advertising services.
840
- /// Note: Should be called after the app has been registered with GroupLink and Bluetooth permissions have been granted.
841
- + (void)startBluetooth;
842
- /// Checks the Bluetooth permission status.
843
- /// This method verifies if the app has the necessary Bluetooth permissions to function properly.
844
- + (void)checkBluetooth;
845
- /// Starts the location services for proximity detection.
846
- /// This method initializes the location manager to enable location-based proximity detection.
847
- /// Note: Should be called after the app has been registered with GroupLink and location permissions have been granted.
848
- + (void)startLocation;
849
- /// Retrieves the user id.
850
- /// The user id is used to identify the user in the backend. The user id is set by receiving the value
851
- /// from the GroupLink backend and setting it automatically. If the user id is not set, it will return <code>nil</code>.
852
- + (NSString * _Nullable)getUserID SWIFT_WARN_UNUSED_RESULT;
853
- + (void)getDeviceKeyOnResult:(void (^ _Nonnull)(NSString * _Nonnull))onResult onError:(void (^ _Nonnull)(NSString * _Nonnull))onError;
854
- /// Retrieves the current SDK version.
855
- + (NSString * _Nonnull)getCurrentVersion SWIFT_WARN_UNUSED_RESULT;
856
- /// Method deprecated. Use <code>setRemoteId(_ name: String)</code> instead.
857
- /// This method was used to set the notification name for the device,
858
- /// but it is now replaced by the <code>setRemoteId(_ name: String)</code> method.
859
- + (void)setNotificationName:(NSString * _Nonnull)name SWIFT_DEPRECATED_MSG("Use setRemoteId(_ name: String) instead. Notification name is now remote id, and it is used to identify the device in the backend.\nIt is recommended to use a unique identifier for each device, such as a UUID or the user id.");
860
- /// Sets the remote id for the device.
861
- /// The remote id is used to identify the device in the backend.
862
- /// It is recommended to use a unique identifier for each device, such as a UUID or the user id.
863
- + (void)setRemoteId:(NSString * _Nonnull)name;
864
- /// Persist an APNs token and notify the backend.
865
- + (void)sendNotificationToken:(NSString * _Nonnull)token SWIFT_DEPRECATED_MSG("Use GroupLinkNotifications.setRemoteNotificationToken(_ token: String)");
866
- /// Returns true if the device has Developer Mode enabled
867
- + (BOOL)isDeveloperMode SWIFT_WARN_UNUSED_RESULT;
868
- - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
869
- @end
870
-
871
- #endif // defined(__OBJC__)
872
- #if __has_attribute(external_source_symbol)
873
- # pragma clang attribute pop
874
- #endif
875
- #if defined(__cplusplus)
876
- #endif
877
- #pragma clang diagnostic pop
878
- #endif
879
-
880
- #else
881
- #error unsupported Swift architecture
882
- #endif