bridgefy-react-native 1.1.7 → 1.1.9

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 (105) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +137 -76
  3. package/android/build.gradle +37 -56
  4. package/android/gradle.properties +4 -4
  5. package/android/src/main/AndroidManifest.xml +1 -11
  6. package/android/src/main/java/me/bridgefy/plugin/react_native/BridgefyReactNativeModule.kt +590 -333
  7. package/android/src/main/java/me/bridgefy/plugin/react_native/BridgefyReactNativePackage.kt +25 -8
  8. package/android/src/main/java/me/bridgefy/plugin/react_native/service/BridgefyService.kt +625 -0
  9. package/android/src/main/java/me/bridgefy/plugin/react_native/util/BridgefyOperationModeManager.kt +193 -0
  10. package/android/src/main/java/me/bridgefy/plugin/react_native/util/BridgefyServiceManager.kt +123 -0
  11. package/android/src/main/java/me/bridgefy/plugin/react_native/util/Utils.kt +172 -0
  12. package/bridgefy-react-native.podspec +5 -25
  13. package/ios/BridgefyReactNativeModule.m +88 -0
  14. package/ios/BridgefyReactNativeModule.swift +524 -0
  15. package/lib/module/NativeBridgefy.js +117 -0
  16. package/lib/module/NativeBridgefy.js.map +1 -0
  17. package/lib/module/index.js +172 -207
  18. package/lib/module/index.js.map +1 -1
  19. package/lib/module/package.json +1 -0
  20. package/lib/typescript/package.json +1 -0
  21. package/lib/typescript/src/NativeBridgefy.d.ts +250 -0
  22. package/lib/typescript/src/NativeBridgefy.d.ts.map +1 -0
  23. package/lib/typescript/src/index.d.ts +146 -0
  24. package/lib/typescript/src/index.d.ts.map +1 -0
  25. package/package.json +77 -72
  26. package/src/NativeBridgefy.ts +321 -0
  27. package/src/index.tsx +283 -225
  28. package/ios/BridgefyReactNative.m +0 -56
  29. package/ios/BridgefyReactNative.swift +0 -368
  30. package/ios/BridgefyReactNative.xcodeproj/project.pbxproj +0 -293
  31. package/ios/BridgefyReactNative.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  32. package/ios/BridgefyReactNative.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  33. package/ios/BridgefyReactNative.xcodeproj/project.xcworkspace/xcuserdata/bridgefy.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  34. package/ios/BridgefyReactNative.xcodeproj/xcuserdata/bridgefy.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
  35. package/ios/Frameworks/BridgefySDK.xcframework/Info.plist +0 -48
  36. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/BridgefySDK +0 -0
  37. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Headers/BridgefySDK-Swift.h +0 -313
  38. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Headers/BridgefySDK.h +0 -15
  39. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Info.plist +0 -0
  40. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios.abi.json +0 -7020
  41. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -115
  42. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  43. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios.swiftinterface +0 -115
  44. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/Modules/module.modulemap +0 -11
  45. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/BridgefySDK.framework/_CodeSignature/CodeResources +0 -190
  46. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/dSYMs/BridgefySDK.framework.dSYM/Contents/Info.plist +0 -20
  47. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/dSYMs/BridgefySDK.framework.dSYM/Contents/Resources/DWARF/BridgefySDK +0 -0
  48. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64/dSYMs/BridgefySDK.framework.dSYM/Contents/Resources/Relocations/aarch64/BridgefySDK.yml +0 -13549
  49. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/BridgefySDK +0 -0
  50. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Headers/BridgefySDK-Swift.h +0 -622
  51. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Headers/BridgefySDK.h +0 -15
  52. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Info.plist +0 -0
  53. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -7020
  54. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -115
  55. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  56. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -115
  57. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -7020
  58. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -115
  59. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  60. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/BridgefySDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -115
  61. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/Modules/module.modulemap +0 -11
  62. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/BridgefySDK.framework/_CodeSignature/CodeResources +0 -245
  63. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/BridgefySDK.framework.dSYM/Contents/Info.plist +0 -20
  64. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/BridgefySDK.framework.dSYM/Contents/Resources/DWARF/BridgefySDK +0 -0
  65. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/BridgefySDK.framework.dSYM/Contents/Resources/Relocations/aarch64/BridgefySDK.yml +0 -13237
  66. package/ios/Frameworks/BridgefySDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/BridgefySDK.framework.dSYM/Contents/Resources/Relocations/x86_64/BridgefySDK.yml +0 -12858
  67. package/lib/commonjs/index.js +0 -278
  68. package/lib/commonjs/index.js.map +0 -1
  69. package/lib/commonjs/infraestructure/index.js +0 -28
  70. package/lib/commonjs/infraestructure/index.js.map +0 -1
  71. package/lib/commonjs/infraestructure/interfaces/ibridgefy.js +0 -6
  72. package/lib/commonjs/infraestructure/interfaces/ibridgefy.js.map +0 -1
  73. package/lib/commonjs/infraestructure/interfaces/index.js +0 -17
  74. package/lib/commonjs/infraestructure/interfaces/index.js.map +0 -1
  75. package/lib/commonjs/infraestructure/services/bridgefy_service.js +0 -6
  76. package/lib/commonjs/infraestructure/services/bridgefy_service.js.map +0 -1
  77. package/lib/commonjs/infraestructure/services/index.js +0 -17
  78. package/lib/commonjs/infraestructure/services/index.js.map +0 -1
  79. package/lib/module/infraestructure/index.js +0 -3
  80. package/lib/module/infraestructure/index.js.map +0 -1
  81. package/lib/module/infraestructure/interfaces/ibridgefy.js +0 -2
  82. package/lib/module/infraestructure/interfaces/ibridgefy.js.map +0 -1
  83. package/lib/module/infraestructure/interfaces/index.js +0 -2
  84. package/lib/module/infraestructure/interfaces/index.js.map +0 -1
  85. package/lib/module/infraestructure/services/bridgefy_service.js +0 -2
  86. package/lib/module/infraestructure/services/bridgefy_service.js.map +0 -1
  87. package/lib/module/infraestructure/services/index.js +0 -2
  88. package/lib/module/infraestructure/services/index.js.map +0 -1
  89. package/lib/typescript/index.d.ts +0 -219
  90. package/lib/typescript/index.d.ts.map +0 -1
  91. package/lib/typescript/infraestructure/index.d.ts +0 -3
  92. package/lib/typescript/infraestructure/index.d.ts.map +0 -1
  93. package/lib/typescript/infraestructure/interfaces/ibridgefy.d.ts +0 -10
  94. package/lib/typescript/infraestructure/interfaces/ibridgefy.d.ts.map +0 -1
  95. package/lib/typescript/infraestructure/interfaces/index.d.ts +0 -2
  96. package/lib/typescript/infraestructure/interfaces/index.d.ts.map +0 -1
  97. package/lib/typescript/infraestructure/services/bridgefy_service.d.ts +0 -17
  98. package/lib/typescript/infraestructure/services/bridgefy_service.d.ts.map +0 -1
  99. package/lib/typescript/infraestructure/services/index.d.ts +0 -2
  100. package/lib/typescript/infraestructure/services/index.d.ts.map +0 -1
  101. package/src/infraestructure/index.tsx +0 -2
  102. package/src/infraestructure/interfaces/ibridgefy.tsx +0 -10
  103. package/src/infraestructure/interfaces/index.tsx +0 -1
  104. package/src/infraestructure/services/bridgefy_service.tsx +0 -20
  105. package/src/infraestructure/services/index.tsx +0 -1
@@ -1,622 +0,0 @@
1
- #if 0
2
- #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
4
- #ifndef BRIDGEFYSDK_SWIFT_H
5
- #define BRIDGEFYSDK_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
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
- #if defined(__arm64e__) && __has_include(<ptrauth.h>)
46
- # include <ptrauth.h>
47
- #else
48
- #pragma clang diagnostic push
49
- #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
50
- # ifndef __ptrauth_swift_value_witness_function_pointer
51
- # define __ptrauth_swift_value_witness_function_pointer(x)
52
- # endif
53
- # ifndef __ptrauth_swift_class_method_pointer
54
- # define __ptrauth_swift_class_method_pointer(x)
55
- # endif
56
- #pragma clang diagnostic pop
57
- #endif
58
- #endif
59
-
60
- #if !defined(SWIFT_TYPEDEFS)
61
- # define SWIFT_TYPEDEFS 1
62
- # if __has_include(<uchar.h>)
63
- # include <uchar.h>
64
- # elif !defined(__cplusplus)
65
- typedef uint_least16_t char16_t;
66
- typedef uint_least32_t char32_t;
67
- # endif
68
- typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
69
- typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
70
- typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
71
- typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
72
- typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
73
- typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
74
- typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
75
- typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
76
- typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
77
- typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
78
- typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
79
- typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
80
- #endif
81
-
82
- #if !defined(SWIFT_PASTE)
83
- # define SWIFT_PASTE_HELPER(x, y) x##y
84
- # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
85
- #endif
86
- #if !defined(SWIFT_METATYPE)
87
- # define SWIFT_METATYPE(X) Class
88
- #endif
89
- #if !defined(SWIFT_CLASS_PROPERTY)
90
- # if __has_feature(objc_class_property)
91
- # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
92
- # else
93
- # define SWIFT_CLASS_PROPERTY(...)
94
- # endif
95
- #endif
96
- #if !defined(SWIFT_RUNTIME_NAME)
97
- # if __has_attribute(objc_runtime_name)
98
- # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
99
- # else
100
- # define SWIFT_RUNTIME_NAME(X)
101
- # endif
102
- #endif
103
- #if !defined(SWIFT_COMPILE_NAME)
104
- # if __has_attribute(swift_name)
105
- # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
106
- # else
107
- # define SWIFT_COMPILE_NAME(X)
108
- # endif
109
- #endif
110
- #if !defined(SWIFT_METHOD_FAMILY)
111
- # if __has_attribute(objc_method_family)
112
- # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
113
- # else
114
- # define SWIFT_METHOD_FAMILY(X)
115
- # endif
116
- #endif
117
- #if !defined(SWIFT_NOESCAPE)
118
- # if __has_attribute(noescape)
119
- # define SWIFT_NOESCAPE __attribute__((noescape))
120
- # else
121
- # define SWIFT_NOESCAPE
122
- # endif
123
- #endif
124
- #if !defined(SWIFT_RELEASES_ARGUMENT)
125
- # if __has_attribute(ns_consumed)
126
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
127
- # else
128
- # define SWIFT_RELEASES_ARGUMENT
129
- # endif
130
- #endif
131
- #if !defined(SWIFT_WARN_UNUSED_RESULT)
132
- # if __has_attribute(warn_unused_result)
133
- # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
134
- # else
135
- # define SWIFT_WARN_UNUSED_RESULT
136
- # endif
137
- #endif
138
- #if !defined(SWIFT_NORETURN)
139
- # if __has_attribute(noreturn)
140
- # define SWIFT_NORETURN __attribute__((noreturn))
141
- # else
142
- # define SWIFT_NORETURN
143
- # endif
144
- #endif
145
- #if !defined(SWIFT_CLASS_EXTRA)
146
- # define SWIFT_CLASS_EXTRA
147
- #endif
148
- #if !defined(SWIFT_PROTOCOL_EXTRA)
149
- # define SWIFT_PROTOCOL_EXTRA
150
- #endif
151
- #if !defined(SWIFT_ENUM_EXTRA)
152
- # define SWIFT_ENUM_EXTRA
153
- #endif
154
- #if !defined(SWIFT_CLASS)
155
- # if __has_attribute(objc_subclassing_restricted)
156
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
157
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
158
- # else
159
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
160
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
161
- # endif
162
- #endif
163
- #if !defined(SWIFT_RESILIENT_CLASS)
164
- # if __has_attribute(objc_class_stub)
165
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
166
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
167
- # else
168
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
169
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
170
- # endif
171
- #endif
172
- #if !defined(SWIFT_PROTOCOL)
173
- # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
174
- # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
175
- #endif
176
- #if !defined(SWIFT_EXTENSION)
177
- # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
178
- #endif
179
- #if !defined(OBJC_DESIGNATED_INITIALIZER)
180
- # if __has_attribute(objc_designated_initializer)
181
- # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
182
- # else
183
- # define OBJC_DESIGNATED_INITIALIZER
184
- # endif
185
- #endif
186
- #if !defined(SWIFT_ENUM_ATTR)
187
- # if __has_attribute(enum_extensibility)
188
- # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
189
- # else
190
- # define SWIFT_ENUM_ATTR(_extensibility)
191
- # endif
192
- #endif
193
- #if !defined(SWIFT_ENUM)
194
- # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
195
- # if __has_feature(generalized_swift_name)
196
- # 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
197
- # else
198
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
199
- # endif
200
- #endif
201
- #if !defined(SWIFT_UNAVAILABLE)
202
- # define SWIFT_UNAVAILABLE __attribute__((unavailable))
203
- #endif
204
- #if !defined(SWIFT_UNAVAILABLE_MSG)
205
- # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
206
- #endif
207
- #if !defined(SWIFT_AVAILABILITY)
208
- # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
209
- #endif
210
- #if !defined(SWIFT_WEAK_IMPORT)
211
- # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
212
- #endif
213
- #if !defined(SWIFT_DEPRECATED)
214
- # define SWIFT_DEPRECATED __attribute__((deprecated))
215
- #endif
216
- #if !defined(SWIFT_DEPRECATED_MSG)
217
- # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
218
- #endif
219
- #if !defined(SWIFT_DEPRECATED_OBJC)
220
- # if __has_feature(attribute_diagnose_if_objc)
221
- # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
222
- # else
223
- # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
224
- # endif
225
- #endif
226
- #if defined(__OBJC__)
227
- #if !defined(IBSegueAction)
228
- # define IBSegueAction
229
- #endif
230
- #endif
231
- #if !defined(SWIFT_EXTERN)
232
- # if defined(__cplusplus)
233
- # define SWIFT_EXTERN extern "C"
234
- # else
235
- # define SWIFT_EXTERN extern
236
- # endif
237
- #endif
238
- #if !defined(SWIFT_CALL)
239
- # define SWIFT_CALL __attribute__((swiftcall))
240
- #endif
241
- #if !defined(SWIFT_INDIRECT_RESULT)
242
- # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
243
- #endif
244
- #if !defined(SWIFT_CONTEXT)
245
- # define SWIFT_CONTEXT __attribute__((swift_context))
246
- #endif
247
- #if !defined(SWIFT_ERROR_RESULT)
248
- # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
249
- #endif
250
- #if defined(__cplusplus)
251
- # define SWIFT_NOEXCEPT noexcept
252
- #else
253
- # define SWIFT_NOEXCEPT
254
- #endif
255
- #if !defined(SWIFT_C_INLINE_THUNK)
256
- # if __has_attribute(always_inline)
257
- # if __has_attribute(nodebug)
258
- # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
259
- # else
260
- # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
261
- # endif
262
- # else
263
- # define SWIFT_C_INLINE_THUNK inline
264
- # endif
265
- #endif
266
- #if defined(_WIN32)
267
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
268
- # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
269
- #endif
270
- #else
271
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
272
- # define SWIFT_IMPORT_STDLIB_SYMBOL
273
- #endif
274
- #endif
275
- #if defined(__OBJC__)
276
- #if __has_feature(objc_modules)
277
- #if __has_warning("-Watimport-in-framework-header")
278
- #pragma clang diagnostic ignored "-Watimport-in-framework-header"
279
- #endif
280
- #endif
281
-
282
- #endif
283
- #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
284
- #pragma clang diagnostic ignored "-Wduplicate-method-arg"
285
- #if __has_warning("-Wpragma-clang-attribute")
286
- # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
287
- #endif
288
- #pragma clang diagnostic ignored "-Wunknown-pragmas"
289
- #pragma clang diagnostic ignored "-Wnullability"
290
- #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
291
-
292
- #if __has_attribute(external_source_symbol)
293
- # pragma push_macro("any")
294
- # undef any
295
- # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BridgefySDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
296
- # pragma pop_macro("any")
297
- #endif
298
-
299
- #if defined(__OBJC__)
300
-
301
-
302
- #endif
303
- #if __has_attribute(external_source_symbol)
304
- # pragma clang attribute pop
305
- #endif
306
- #if defined(__cplusplus)
307
- #endif
308
- #pragma clang diagnostic pop
309
- #endif
310
-
311
- #elif defined(__x86_64__) && __x86_64__
312
- // Generated by Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
313
- #ifndef BRIDGEFYSDK_SWIFT_H
314
- #define BRIDGEFYSDK_SWIFT_H
315
- #pragma clang diagnostic push
316
- #pragma clang diagnostic ignored "-Wgcc-compat"
317
-
318
- #if !defined(__has_include)
319
- # define __has_include(x) 0
320
- #endif
321
- #if !defined(__has_attribute)
322
- # define __has_attribute(x) 0
323
- #endif
324
- #if !defined(__has_feature)
325
- # define __has_feature(x) 0
326
- #endif
327
- #if !defined(__has_warning)
328
- # define __has_warning(x) 0
329
- #endif
330
-
331
- #if __has_include(<swift/objc-prologue.h>)
332
- # include <swift/objc-prologue.h>
333
- #endif
334
-
335
- #pragma clang diagnostic ignored "-Wauto-import"
336
- #if defined(__OBJC__)
337
- #include <Foundation/Foundation.h>
338
- #endif
339
- #if defined(__cplusplus)
340
- #include <cstdint>
341
- #include <cstddef>
342
- #include <cstdbool>
343
- #include <cstring>
344
- #include <stdlib.h>
345
- #include <new>
346
- #include <type_traits>
347
- #else
348
- #include <stdint.h>
349
- #include <stddef.h>
350
- #include <stdbool.h>
351
- #include <string.h>
352
- #endif
353
- #if defined(__cplusplus)
354
- #if defined(__arm64e__) && __has_include(<ptrauth.h>)
355
- # include <ptrauth.h>
356
- #else
357
- #pragma clang diagnostic push
358
- #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
359
- # ifndef __ptrauth_swift_value_witness_function_pointer
360
- # define __ptrauth_swift_value_witness_function_pointer(x)
361
- # endif
362
- # ifndef __ptrauth_swift_class_method_pointer
363
- # define __ptrauth_swift_class_method_pointer(x)
364
- # endif
365
- #pragma clang diagnostic pop
366
- #endif
367
- #endif
368
-
369
- #if !defined(SWIFT_TYPEDEFS)
370
- # define SWIFT_TYPEDEFS 1
371
- # if __has_include(<uchar.h>)
372
- # include <uchar.h>
373
- # elif !defined(__cplusplus)
374
- typedef uint_least16_t char16_t;
375
- typedef uint_least32_t char32_t;
376
- # endif
377
- typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
378
- typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
379
- typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
380
- typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
381
- typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
382
- typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
383
- typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
384
- typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
385
- typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
386
- typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
387
- typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
388
- typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
389
- #endif
390
-
391
- #if !defined(SWIFT_PASTE)
392
- # define SWIFT_PASTE_HELPER(x, y) x##y
393
- # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
394
- #endif
395
- #if !defined(SWIFT_METATYPE)
396
- # define SWIFT_METATYPE(X) Class
397
- #endif
398
- #if !defined(SWIFT_CLASS_PROPERTY)
399
- # if __has_feature(objc_class_property)
400
- # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
401
- # else
402
- # define SWIFT_CLASS_PROPERTY(...)
403
- # endif
404
- #endif
405
- #if !defined(SWIFT_RUNTIME_NAME)
406
- # if __has_attribute(objc_runtime_name)
407
- # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
408
- # else
409
- # define SWIFT_RUNTIME_NAME(X)
410
- # endif
411
- #endif
412
- #if !defined(SWIFT_COMPILE_NAME)
413
- # if __has_attribute(swift_name)
414
- # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
415
- # else
416
- # define SWIFT_COMPILE_NAME(X)
417
- # endif
418
- #endif
419
- #if !defined(SWIFT_METHOD_FAMILY)
420
- # if __has_attribute(objc_method_family)
421
- # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
422
- # else
423
- # define SWIFT_METHOD_FAMILY(X)
424
- # endif
425
- #endif
426
- #if !defined(SWIFT_NOESCAPE)
427
- # if __has_attribute(noescape)
428
- # define SWIFT_NOESCAPE __attribute__((noescape))
429
- # else
430
- # define SWIFT_NOESCAPE
431
- # endif
432
- #endif
433
- #if !defined(SWIFT_RELEASES_ARGUMENT)
434
- # if __has_attribute(ns_consumed)
435
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
436
- # else
437
- # define SWIFT_RELEASES_ARGUMENT
438
- # endif
439
- #endif
440
- #if !defined(SWIFT_WARN_UNUSED_RESULT)
441
- # if __has_attribute(warn_unused_result)
442
- # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
443
- # else
444
- # define SWIFT_WARN_UNUSED_RESULT
445
- # endif
446
- #endif
447
- #if !defined(SWIFT_NORETURN)
448
- # if __has_attribute(noreturn)
449
- # define SWIFT_NORETURN __attribute__((noreturn))
450
- # else
451
- # define SWIFT_NORETURN
452
- # endif
453
- #endif
454
- #if !defined(SWIFT_CLASS_EXTRA)
455
- # define SWIFT_CLASS_EXTRA
456
- #endif
457
- #if !defined(SWIFT_PROTOCOL_EXTRA)
458
- # define SWIFT_PROTOCOL_EXTRA
459
- #endif
460
- #if !defined(SWIFT_ENUM_EXTRA)
461
- # define SWIFT_ENUM_EXTRA
462
- #endif
463
- #if !defined(SWIFT_CLASS)
464
- # if __has_attribute(objc_subclassing_restricted)
465
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
466
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
467
- # else
468
- # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
469
- # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
470
- # endif
471
- #endif
472
- #if !defined(SWIFT_RESILIENT_CLASS)
473
- # if __has_attribute(objc_class_stub)
474
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
475
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
476
- # else
477
- # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
478
- # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
479
- # endif
480
- #endif
481
- #if !defined(SWIFT_PROTOCOL)
482
- # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
483
- # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
484
- #endif
485
- #if !defined(SWIFT_EXTENSION)
486
- # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
487
- #endif
488
- #if !defined(OBJC_DESIGNATED_INITIALIZER)
489
- # if __has_attribute(objc_designated_initializer)
490
- # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
491
- # else
492
- # define OBJC_DESIGNATED_INITIALIZER
493
- # endif
494
- #endif
495
- #if !defined(SWIFT_ENUM_ATTR)
496
- # if __has_attribute(enum_extensibility)
497
- # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
498
- # else
499
- # define SWIFT_ENUM_ATTR(_extensibility)
500
- # endif
501
- #endif
502
- #if !defined(SWIFT_ENUM)
503
- # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
504
- # if __has_feature(generalized_swift_name)
505
- # 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
506
- # else
507
- # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
508
- # endif
509
- #endif
510
- #if !defined(SWIFT_UNAVAILABLE)
511
- # define SWIFT_UNAVAILABLE __attribute__((unavailable))
512
- #endif
513
- #if !defined(SWIFT_UNAVAILABLE_MSG)
514
- # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
515
- #endif
516
- #if !defined(SWIFT_AVAILABILITY)
517
- # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
518
- #endif
519
- #if !defined(SWIFT_WEAK_IMPORT)
520
- # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
521
- #endif
522
- #if !defined(SWIFT_DEPRECATED)
523
- # define SWIFT_DEPRECATED __attribute__((deprecated))
524
- #endif
525
- #if !defined(SWIFT_DEPRECATED_MSG)
526
- # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
527
- #endif
528
- #if !defined(SWIFT_DEPRECATED_OBJC)
529
- # if __has_feature(attribute_diagnose_if_objc)
530
- # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
531
- # else
532
- # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
533
- # endif
534
- #endif
535
- #if defined(__OBJC__)
536
- #if !defined(IBSegueAction)
537
- # define IBSegueAction
538
- #endif
539
- #endif
540
- #if !defined(SWIFT_EXTERN)
541
- # if defined(__cplusplus)
542
- # define SWIFT_EXTERN extern "C"
543
- # else
544
- # define SWIFT_EXTERN extern
545
- # endif
546
- #endif
547
- #if !defined(SWIFT_CALL)
548
- # define SWIFT_CALL __attribute__((swiftcall))
549
- #endif
550
- #if !defined(SWIFT_INDIRECT_RESULT)
551
- # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
552
- #endif
553
- #if !defined(SWIFT_CONTEXT)
554
- # define SWIFT_CONTEXT __attribute__((swift_context))
555
- #endif
556
- #if !defined(SWIFT_ERROR_RESULT)
557
- # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
558
- #endif
559
- #if defined(__cplusplus)
560
- # define SWIFT_NOEXCEPT noexcept
561
- #else
562
- # define SWIFT_NOEXCEPT
563
- #endif
564
- #if !defined(SWIFT_C_INLINE_THUNK)
565
- # if __has_attribute(always_inline)
566
- # if __has_attribute(nodebug)
567
- # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
568
- # else
569
- # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
570
- # endif
571
- # else
572
- # define SWIFT_C_INLINE_THUNK inline
573
- # endif
574
- #endif
575
- #if defined(_WIN32)
576
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
577
- # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
578
- #endif
579
- #else
580
- #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
581
- # define SWIFT_IMPORT_STDLIB_SYMBOL
582
- #endif
583
- #endif
584
- #if defined(__OBJC__)
585
- #if __has_feature(objc_modules)
586
- #if __has_warning("-Watimport-in-framework-header")
587
- #pragma clang diagnostic ignored "-Watimport-in-framework-header"
588
- #endif
589
- #endif
590
-
591
- #endif
592
- #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
593
- #pragma clang diagnostic ignored "-Wduplicate-method-arg"
594
- #if __has_warning("-Wpragma-clang-attribute")
595
- # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
596
- #endif
597
- #pragma clang diagnostic ignored "-Wunknown-pragmas"
598
- #pragma clang diagnostic ignored "-Wnullability"
599
- #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
600
-
601
- #if __has_attribute(external_source_symbol)
602
- # pragma push_macro("any")
603
- # undef any
604
- # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="BridgefySDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
605
- # pragma pop_macro("any")
606
- #endif
607
-
608
- #if defined(__OBJC__)
609
-
610
-
611
- #endif
612
- #if __has_attribute(external_source_symbol)
613
- # pragma clang attribute pop
614
- #endif
615
- #if defined(__cplusplus)
616
- #endif
617
- #pragma clang diagnostic pop
618
- #endif
619
-
620
- #else
621
- #error unsupported Swift architecture
622
- #endif
@@ -1,15 +0,0 @@
1
- //
2
- // Copyright © 2021 Bridgefy Inc. - All Rights Reserved
3
- //
4
-
5
- #import <Foundation/Foundation.h>
6
-
7
- //! Project version number for BridgefySDK.
8
- FOUNDATION_EXPORT double BridgefySDKVersionNumber;
9
-
10
- //! Project version string for BridgefySDK.
11
- FOUNDATION_EXPORT const unsigned char BridgefySDKVersionString[];
12
-
13
- // In this header, you should import all the public headers of your framework using statements like #import <BridgefySDK/PublicHeader.h>
14
-
15
-