@react-native-firebase/app 25.1.0 → 26.0.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 (150) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/RNFBApp.podspec +7 -13
  3. package/android/build.gradle +25 -6
  4. package/android/src/reactnative/java/io/invertase/firebase/app/{ReactNativeFirebaseAppModule.java → NativeRNFBTurboApp.java} +81 -45
  5. package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseAppPackage.java +3 -3
  6. package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseVersion.java +2 -2
  7. package/android/src/reactnative/java/io/invertase/firebase/app/generated/java/com/facebook/fbreact/specs/NativeRNFBTurboAppSpec.java +136 -0
  8. package/android/src/reactnative/java/io/invertase/firebase/app/generated/java/com/facebook/fbreact/specs/NativeRNFBTurboUtilsSpec.java +94 -0
  9. package/android/src/reactnative/java/io/invertase/firebase/app/generated/jni/CMakeLists.txt +36 -0
  10. package/android/src/reactnative/java/io/invertase/firebase/app/generated/jni/RNFBAppTurboModules-generated.cpp +170 -0
  11. package/android/src/reactnative/java/io/invertase/firebase/app/generated/jni/RNFBAppTurboModules.h +39 -0
  12. package/android/src/reactnative/java/io/invertase/firebase/app/generated/jni/react/renderer/components/RNFBAppTurboModules/RNFBAppTurboModulesJSI-generated.cpp +187 -0
  13. package/android/src/reactnative/java/io/invertase/firebase/app/generated/jni/react/renderer/components/RNFBAppTurboModules/RNFBAppTurboModulesJSI.h +606 -0
  14. package/android/src/reactnative/java/io/invertase/firebase/common/RCTConvertFirebase.java +3 -3
  15. package/android/src/reactnative/java/io/invertase/firebase/common/ReactNativeFirebaseEventEmitter.java +475 -20
  16. package/android/src/reactnative/java/io/invertase/firebase/common/ReactNativeFirebaseMeta.java +8 -0
  17. package/android/src/reactnative/java/io/invertase/firebase/common/ReactNativeFirebasePreferences.java +8 -0
  18. package/android/src/reactnative/java/io/invertase/firebase/utils/{ReactNativeFirebaseUtilsModule.java → NativeRNFBTurboUtils.java} +57 -40
  19. package/android/src/test/java/io/invertase/firebase/app/NativeRNFBTurboAppTest.java +400 -0
  20. package/android/src/test/java/io/invertase/firebase/common/ReactNativeFirebaseEventEmitterTest.java +1823 -0
  21. package/app.plugin.js +1 -1
  22. package/dist/module/FirebaseApp.js +0 -9
  23. package/dist/module/FirebaseApp.js.map +1 -1
  24. package/dist/module/common/index.js +0 -645
  25. package/dist/module/common/index.js.map +1 -1
  26. package/dist/module/common/unitTestUtils.js +18 -54
  27. package/dist/module/common/unitTestUtils.js.map +1 -1
  28. package/dist/module/index.js +0 -1
  29. package/dist/module/index.js.map +1 -1
  30. package/dist/module/internal/RNFBNativeEventEmitter.js +12 -6
  31. package/dist/module/internal/RNFBNativeEventEmitter.js.map +1 -1
  32. package/dist/module/internal/constants.js +2 -2
  33. package/dist/module/internal/constants.js.map +1 -1
  34. package/dist/module/internal/index.js +1 -1
  35. package/dist/module/internal/index.js.map +1 -1
  36. package/dist/module/internal/nativeModuleAndroidIos.js +50 -10
  37. package/dist/module/internal/nativeModuleAndroidIos.js.map +1 -1
  38. package/dist/module/internal/nativeModuleWeb.js +12 -4
  39. package/dist/module/internal/nativeModuleWeb.js.map +1 -1
  40. package/dist/module/internal/registry/app.js +20 -12
  41. package/dist/module/internal/registry/app.js.map +1 -1
  42. package/dist/module/internal/registry/modular.js +73 -0
  43. package/dist/module/internal/registry/modular.js.map +1 -0
  44. package/dist/module/internal/registry/nativeModule.js +116 -95
  45. package/dist/module/internal/registry/nativeModule.js.map +1 -1
  46. package/dist/module/modular.js +44 -37
  47. package/dist/module/modular.js.map +1 -1
  48. package/dist/module/types/app.js +0 -3
  49. package/dist/module/types/app.js.map +1 -1
  50. package/dist/module/types/internal.js +0 -2
  51. package/dist/module/utils/UtilsStatics.js +2 -2
  52. package/dist/module/utils/UtilsStatics.js.map +1 -1
  53. package/dist/module/utils/index.js +21 -17
  54. package/dist/module/utils/index.js.map +1 -1
  55. package/dist/module/version.js +1 -1
  56. package/dist/typescript/lib/FirebaseApp.d.ts +1 -2
  57. package/dist/typescript/lib/FirebaseApp.d.ts.map +1 -1
  58. package/dist/typescript/lib/common/index.d.ts +0 -8
  59. package/dist/typescript/lib/common/index.d.ts.map +1 -1
  60. package/dist/typescript/lib/common/unitTestUtils.d.ts +1 -4
  61. package/dist/typescript/lib/common/unitTestUtils.d.ts.map +1 -1
  62. package/dist/typescript/lib/index.d.ts +0 -1
  63. package/dist/typescript/lib/index.d.ts.map +1 -1
  64. package/dist/typescript/lib/internal/NativeFirebaseError.d.ts +1 -1
  65. package/dist/typescript/lib/internal/NativeFirebaseError.d.ts.map +1 -1
  66. package/dist/typescript/lib/internal/RNFBNativeEventEmitter.d.ts.map +1 -1
  67. package/dist/typescript/lib/internal/constants.d.ts +2 -3
  68. package/dist/typescript/lib/internal/constants.d.ts.map +1 -1
  69. package/dist/typescript/lib/internal/index.d.ts +1 -1
  70. package/dist/typescript/lib/internal/index.d.ts.map +1 -1
  71. package/dist/typescript/lib/internal/nativeModuleAndroidIos.d.ts +2 -6
  72. package/dist/typescript/lib/internal/nativeModuleAndroidIos.d.ts.map +1 -1
  73. package/dist/typescript/lib/internal/nativeModuleWeb.d.ts.map +1 -1
  74. package/dist/typescript/lib/internal/registry/app.d.ts +2 -2
  75. package/dist/typescript/lib/internal/registry/app.d.ts.map +1 -1
  76. package/dist/typescript/lib/internal/registry/modular.d.ts +22 -0
  77. package/dist/typescript/lib/internal/registry/modular.d.ts.map +1 -0
  78. package/dist/typescript/lib/internal/registry/nativeModule.d.ts +3 -11
  79. package/dist/typescript/lib/internal/registry/nativeModule.d.ts.map +1 -1
  80. package/dist/typescript/lib/modular.d.ts +21 -7
  81. package/dist/typescript/lib/modular.d.ts.map +1 -1
  82. package/dist/typescript/lib/types/app.d.ts +4 -4
  83. package/dist/typescript/lib/types/app.d.ts.map +1 -1
  84. package/dist/typescript/lib/types/internal.d.ts +1 -33
  85. package/dist/typescript/lib/types/internal.d.ts.map +1 -1
  86. package/dist/typescript/lib/utils/index.d.ts +7 -3
  87. package/dist/typescript/lib/utils/index.d.ts.map +1 -1
  88. package/dist/typescript/lib/version.d.ts +1 -1
  89. package/firebase-schema.json +5 -1
  90. package/ios/RNFBApp/RNFBAppModule.h +1 -3
  91. package/ios/RNFBApp/{RNFBAppModule.m → RNFBAppModule.mm} +74 -77
  92. package/ios/RNFBApp/RNFBUtilsModule.h +1 -3
  93. package/ios/RNFBApp/{RNFBUtilsModule.m → RNFBUtilsModule.mm} +68 -25
  94. package/ios/RNFBApp/RNFBVersion.m +1 -1
  95. package/ios/RNFBApp.xcodeproj/project.pbxproj +12 -12
  96. package/ios/generated/RCTAppDependencyProvider.h +25 -0
  97. package/ios/generated/RCTAppDependencyProvider.mm +55 -0
  98. package/ios/generated/RCTModuleProviders.h +16 -0
  99. package/ios/generated/RCTModuleProviders.mm +52 -0
  100. package/ios/generated/RCTModulesConformingToProtocolsProvider.h +18 -0
  101. package/ios/generated/RCTModulesConformingToProtocolsProvider.mm +33 -0
  102. package/ios/generated/RCTThirdPartyComponentsProvider.h +16 -0
  103. package/ios/generated/RCTThirdPartyComponentsProvider.mm +23 -0
  104. package/ios/generated/RCTUnstableModulesRequiringMainQueueSetupProvider.h +14 -0
  105. package/ios/generated/RCTUnstableModulesRequiringMainQueueSetupProvider.mm +19 -0
  106. package/ios/generated/RNFBAppTurboModules/RNFBAppTurboModules-generated.mm +210 -0
  107. package/ios/generated/RNFBAppTurboModules/RNFBAppTurboModules.h +399 -0
  108. package/ios/generated/RNFBAppTurboModulesJSI-generated.cpp +187 -0
  109. package/ios/generated/RNFBAppTurboModulesJSI.h +606 -0
  110. package/ios/generated/ReactAppDependencyProvider.podspec +34 -0
  111. package/ios/generated/ReactCodegen.podspec +111 -0
  112. package/lib/FirebaseApp.ts +1 -10
  113. package/lib/common/index.ts +0 -742
  114. package/lib/common/unitTestUtils.ts +17 -73
  115. package/lib/index.ts +0 -1
  116. package/lib/internal/NativeFirebaseError.ts +1 -1
  117. package/lib/internal/RNFBNativeEventEmitter.ts +12 -6
  118. package/lib/internal/constants.ts +3 -25
  119. package/lib/internal/global.d.ts +0 -4
  120. package/lib/internal/index.ts +1 -1
  121. package/lib/internal/nativeModuleAndroidIos.ts +69 -12
  122. package/lib/internal/nativeModuleWeb.ts +11 -5
  123. package/lib/internal/registry/app.ts +24 -22
  124. package/lib/internal/registry/modular.ts +97 -0
  125. package/lib/internal/registry/nativeModule.ts +136 -107
  126. package/lib/modular.ts +47 -72
  127. package/lib/types/app.ts +6 -11
  128. package/lib/types/internal.ts +1 -46
  129. package/lib/utils/UtilsStatics.ts +2 -2
  130. package/lib/utils/index.ts +24 -18
  131. package/lib/version.ts +1 -1
  132. package/package.json +41 -3
  133. package/plugin/build/app.plugin.d.ts +2 -0
  134. package/plugin/build/app.plugin.js +6 -0
  135. package/plugin/src/app.plugin.ts +3 -0
  136. package/plugin/tsconfig.tsbuildinfo +1 -1
  137. package/react-native.config.js +2 -0
  138. package/specs/NativeRNFBTurboApp.ts +57 -0
  139. package/specs/NativeRNFBTurboUtils.ts +34 -0
  140. package/typedoc.json +1 -2
  141. package/dist/module/internal/registry/namespace.js +0 -262
  142. package/dist/module/internal/registry/namespace.js.map +0 -1
  143. package/dist/module/namespaced.js +0 -25
  144. package/dist/module/namespaced.js.map +0 -1
  145. package/dist/typescript/lib/internal/registry/namespace.d.ts +0 -26
  146. package/dist/typescript/lib/internal/registry/namespace.d.ts.map +0 -1
  147. package/dist/typescript/lib/namespaced.d.ts +0 -5
  148. package/dist/typescript/lib/namespaced.d.ts.map +0 -1
  149. package/lib/internal/registry/namespace.ts +0 -338
  150. package/lib/namespaced.ts +0 -24
@@ -0,0 +1,399 @@
1
+ /**
2
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
3
+ *
4
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
5
+ * once the code is regenerated.
6
+ *
7
+ * @generated by codegen project: GenerateModuleObjCpp
8
+ *
9
+ * We create an umbrella header (and corresponding implementation) here since
10
+ * Cxx compilation in BUCK has a limitation: source-code producing genrule()s
11
+ * must have a single output. More files => more genrule()s => slower builds.
12
+ */
13
+
14
+ #ifndef __cplusplus
15
+ #error This file must be compiled as Obj-C++. If you are importing it, you must change your file extension to .mm.
16
+ #endif
17
+
18
+ // Avoid multiple includes of RNFBAppTurboModules symbols
19
+ #ifndef RNFBAppTurboModules_H
20
+ #define RNFBAppTurboModules_H
21
+
22
+ #import <Foundation/Foundation.h>
23
+ #import <RCTRequired/RCTRequired.h>
24
+ #import <RCTTypeSafety/RCTConvertHelpers.h>
25
+ #import <RCTTypeSafety/RCTTypedModuleConstants.h>
26
+ #import <React/RCTBridgeModule.h>
27
+ #import <React/RCTCxxConvert.h>
28
+ #import <React/RCTManagedPointer.h>
29
+ #import <ReactCommon/RCTTurboModule.h>
30
+ #import <optional>
31
+ #import <vector>
32
+
33
+
34
+ NS_ASSUME_NONNULL_BEGIN
35
+ namespace JS {
36
+ namespace NativeRNFBTurboApp {
37
+ struct FirebaseAppConfig {
38
+
39
+ struct Builder {
40
+ // Backwards compat for RCTTypedModuleConstants
41
+ using ResultT = FirebaseAppConfig;
42
+
43
+ struct Input {
44
+ RCTRequired<NSString *> name;
45
+ std::optional<bool> automaticResourceManagement;
46
+ std::optional<bool> automaticDataCollectionEnabled;
47
+ };
48
+
49
+ /** Initialize with a set of values */
50
+ Builder(const Input i);
51
+ /** Initialize with an existing FirebaseAppConfig */
52
+ Builder(FirebaseAppConfig i);
53
+ /** Builds the object. Generally used only by the infrastructure. */
54
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
55
+ private:
56
+ NSDictionary *(^_factory)(void);
57
+ };
58
+
59
+ static FirebaseAppConfig fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
60
+ NSDictionary *unsafeRawValue() const { return _v; }
61
+ private:
62
+ FirebaseAppConfig(NSDictionary *const v) : _v(v) {}
63
+ NSDictionary *_v;
64
+ };
65
+ }
66
+ }
67
+ namespace JS {
68
+ namespace NativeRNFBTurboApp {
69
+ struct FirebaseAppOptions {
70
+
71
+ struct Builder {
72
+ // Backwards compat for RCTTypedModuleConstants
73
+ using ResultT = FirebaseAppOptions;
74
+
75
+ struct Input {
76
+ RCTRequired<NSString *> apiKey;
77
+ RCTRequired<NSString *> appId;
78
+ NSString *databaseURL;
79
+ RCTRequired<NSString *> messagingSenderId;
80
+ RCTRequired<NSString *> projectId;
81
+ NSString *storageBucket;
82
+ NSString *authDomain;
83
+ NSString *iosBundleId;
84
+ NSString *iosClientId;
85
+ NSString *appGroupId;
86
+ };
87
+
88
+ /** Initialize with a set of values */
89
+ Builder(const Input i);
90
+ /** Initialize with an existing FirebaseAppOptions */
91
+ Builder(FirebaseAppOptions i);
92
+ /** Builds the object. Generally used only by the infrastructure. */
93
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
94
+ private:
95
+ NSDictionary *(^_factory)(void);
96
+ };
97
+
98
+ static FirebaseAppOptions fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
99
+ NSDictionary *unsafeRawValue() const { return _v; }
100
+ private:
101
+ FirebaseAppOptions(NSDictionary *const v) : _v(v) {}
102
+ NSDictionary *_v;
103
+ };
104
+ }
105
+ }
106
+ namespace JS {
107
+ namespace NativeRNFBTurboApp {
108
+ struct NativeFirebaseApp {
109
+
110
+ struct Builder {
111
+ // Backwards compat for RCTTypedModuleConstants
112
+ using ResultT = NativeFirebaseApp;
113
+
114
+ struct Input {
115
+ RCTRequired<JS::NativeRNFBTurboApp::FirebaseAppConfig::Builder> appConfig;
116
+ RCTRequired<JS::NativeRNFBTurboApp::FirebaseAppOptions::Builder> options;
117
+ };
118
+
119
+ /** Initialize with a set of values */
120
+ Builder(const Input i);
121
+ /** Initialize with an existing NativeFirebaseApp */
122
+ Builder(NativeFirebaseApp i);
123
+ /** Builds the object. Generally used only by the infrastructure. */
124
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
125
+ private:
126
+ NSDictionary *(^_factory)(void);
127
+ };
128
+
129
+ static NativeFirebaseApp fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
130
+ NSDictionary *unsafeRawValue() const { return _v; }
131
+ private:
132
+ NativeFirebaseApp(NSDictionary *const v) : _v(v) {}
133
+ NSDictionary *_v;
134
+ };
135
+ }
136
+ }
137
+ namespace JS {
138
+ namespace NativeRNFBTurboApp {
139
+ struct Constants {
140
+
141
+ struct Builder {
142
+ // Backwards compat for RCTTypedModuleConstants
143
+ using ResultT = Constants;
144
+
145
+ struct Input {
146
+ RCTRequired<std::vector<JS::NativeRNFBTurboApp::NativeFirebaseApp::Builder>> NATIVE_FIREBASE_APPS;
147
+ RCTRequired<NSString *> FIREBASE_RAW_JSON;
148
+ };
149
+
150
+ /** Initialize with a set of values */
151
+ Builder(const Input i);
152
+ /** Initialize with an existing Constants */
153
+ Builder(Constants i);
154
+ /** Builds the object. Generally used only by the infrastructure. */
155
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
156
+ private:
157
+ NSDictionary *(^_factory)(void);
158
+ };
159
+
160
+ static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
161
+ NSDictionary *unsafeRawValue() const { return _v; }
162
+ private:
163
+ Constants(NSDictionary *const v) : _v(v) {}
164
+ NSDictionary *_v;
165
+ };
166
+ }
167
+ }
168
+ @protocol NativeRNFBTurboAppSpec <RCTBridgeModule, RCTTurboModule>
169
+
170
+ - (void)initializeApp:(NSDictionary *)options
171
+ appConfig:(NSDictionary *)appConfig
172
+ resolve:(RCTPromiseResolveBlock)resolve
173
+ reject:(RCTPromiseRejectBlock)reject;
174
+ - (void)setAutomaticDataCollectionEnabled:(NSString *)appName
175
+ enabled:(BOOL)enabled;
176
+ - (void)deleteApp:(NSString *)appName
177
+ resolve:(RCTPromiseResolveBlock)resolve
178
+ reject:(RCTPromiseRejectBlock)reject;
179
+ - (void)eventsNotifyReady:(BOOL)ready;
180
+ - (void)eventsGetListeners:(RCTPromiseResolveBlock)resolve
181
+ reject:(RCTPromiseRejectBlock)reject;
182
+ - (void)eventsPing:(NSString *)eventName
183
+ eventBody:(NSDictionary *)eventBody
184
+ resolve:(RCTPromiseResolveBlock)resolve
185
+ reject:(RCTPromiseRejectBlock)reject;
186
+ - (void)eventsAddListener:(NSString *)eventName;
187
+ - (void)eventsRemoveListener:(NSString *)eventName
188
+ all:(BOOL)all;
189
+ - (void)addListener:(NSString *)eventName;
190
+ - (void)removeListeners:(double)count;
191
+ - (void)metaGetAll:(RCTPromiseResolveBlock)resolve
192
+ reject:(RCTPromiseRejectBlock)reject;
193
+ - (void)jsonGetAll:(RCTPromiseResolveBlock)resolve
194
+ reject:(RCTPromiseRejectBlock)reject;
195
+ - (void)preferencesSetBool:(NSString *)key
196
+ value:(BOOL)value
197
+ resolve:(RCTPromiseResolveBlock)resolve
198
+ reject:(RCTPromiseRejectBlock)reject;
199
+ - (void)preferencesSetString:(NSString *)key
200
+ value:(NSString *)value
201
+ resolve:(RCTPromiseResolveBlock)resolve
202
+ reject:(RCTPromiseRejectBlock)reject;
203
+ - (void)preferencesGetAll:(RCTPromiseResolveBlock)resolve
204
+ reject:(RCTPromiseRejectBlock)reject;
205
+ - (void)preferencesClearAll:(RCTPromiseResolveBlock)resolve
206
+ reject:(RCTPromiseRejectBlock)reject;
207
+ - (void)setLogLevel:(NSString *)logLevel;
208
+ - (facebook::react::ModuleConstants<JS::NativeRNFBTurboApp::Constants::Builder>)constantsToExport;
209
+ - (facebook::react::ModuleConstants<JS::NativeRNFBTurboApp::Constants::Builder>)getConstants;
210
+
211
+ @end
212
+
213
+ @interface NativeRNFBTurboAppSpecBase : NSObject {
214
+ @protected
215
+ facebook::react::EventEmitterCallback _eventEmitterCallback;
216
+ }
217
+ - (void)setEventEmitterCallback:(EventEmitterCallbackWrapper *)eventEmitterCallbackWrapper;
218
+
219
+
220
+ @end
221
+
222
+ namespace facebook::react {
223
+ /**
224
+ * ObjC++ class for module 'NativeRNFBTurboApp'
225
+ */
226
+ class JSI_EXPORT NativeRNFBTurboAppSpecJSI : public ObjCTurboModule {
227
+ public:
228
+ NativeRNFBTurboAppSpecJSI(const ObjCTurboModule::InitParams &params);
229
+ };
230
+ } // namespace facebook::react
231
+ namespace JS {
232
+ namespace NativeRNFBTurboUtils {
233
+ struct Constants {
234
+
235
+ struct Builder {
236
+ // Backwards compat for RCTTypedModuleConstants
237
+ using ResultT = Constants;
238
+
239
+ struct Input {
240
+ RCTRequired<bool> isRunningInTestLab;
241
+ RCTRequired<NSString *> MAIN_BUNDLE;
242
+ RCTRequired<NSString *> CACHES_DIRECTORY;
243
+ RCTRequired<NSString *> DOCUMENT_DIRECTORY;
244
+ NSString *EXTERNAL_DIRECTORY;
245
+ NSString *EXTERNAL_STORAGE_DIRECTORY;
246
+ RCTRequired<NSString *> TEMP_DIRECTORY;
247
+ RCTRequired<NSString *> LIBRARY_DIRECTORY;
248
+ RCTRequired<NSString *> PICTURES_DIRECTORY;
249
+ RCTRequired<NSString *> MOVIES_DIRECTORY;
250
+ NSString *FILE_TYPE_REGULAR;
251
+ NSString *FILE_TYPE_DIRECTORY;
252
+ };
253
+
254
+ /** Initialize with a set of values */
255
+ Builder(const Input i);
256
+ /** Initialize with an existing Constants */
257
+ Builder(Constants i);
258
+ /** Builds the object. Generally used only by the infrastructure. */
259
+ NSDictionary *buildUnsafeRawValue() const { return _factory(); };
260
+ private:
261
+ NSDictionary *(^_factory)(void);
262
+ };
263
+
264
+ static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
265
+ NSDictionary *unsafeRawValue() const { return _v; }
266
+ private:
267
+ Constants(NSDictionary *const v) : _v(v) {}
268
+ NSDictionary *_v;
269
+ };
270
+ }
271
+ }
272
+ @protocol NativeRNFBTurboUtilsSpec <RCTBridgeModule, RCTTurboModule>
273
+
274
+ - (void)androidGetPlayServicesStatus:(RCTPromiseResolveBlock)resolve
275
+ reject:(RCTPromiseRejectBlock)reject;
276
+ - (void)androidPromptForPlayServices:(RCTPromiseResolveBlock)resolve
277
+ reject:(RCTPromiseRejectBlock)reject;
278
+ - (void)androidResolutionForPlayServices:(RCTPromiseResolveBlock)resolve
279
+ reject:(RCTPromiseRejectBlock)reject;
280
+ - (void)androidMakePlayServicesAvailable:(RCTPromiseResolveBlock)resolve
281
+ reject:(RCTPromiseRejectBlock)reject;
282
+ - (facebook::react::ModuleConstants<JS::NativeRNFBTurboUtils::Constants::Builder>)constantsToExport;
283
+ - (facebook::react::ModuleConstants<JS::NativeRNFBTurboUtils::Constants::Builder>)getConstants;
284
+
285
+ @end
286
+
287
+ @interface NativeRNFBTurboUtilsSpecBase : NSObject {
288
+ @protected
289
+ facebook::react::EventEmitterCallback _eventEmitterCallback;
290
+ }
291
+ - (void)setEventEmitterCallback:(EventEmitterCallbackWrapper *)eventEmitterCallbackWrapper;
292
+
293
+
294
+ @end
295
+
296
+ namespace facebook::react {
297
+ /**
298
+ * ObjC++ class for module 'NativeRNFBTurboUtils'
299
+ */
300
+ class JSI_EXPORT NativeRNFBTurboUtilsSpecJSI : public ObjCTurboModule {
301
+ public:
302
+ NativeRNFBTurboUtilsSpecJSI(const ObjCTurboModule::InitParams &params);
303
+ };
304
+ } // namespace facebook::react
305
+ inline JS::NativeRNFBTurboApp::FirebaseAppConfig::Builder::Builder(const Input i) : _factory(^{
306
+ NSMutableDictionary *d = [NSMutableDictionary new];
307
+ auto name = i.name.get();
308
+ d[@"name"] = name;
309
+ auto automaticResourceManagement = i.automaticResourceManagement;
310
+ d[@"automaticResourceManagement"] = automaticResourceManagement.has_value() ? @((BOOL)automaticResourceManagement.value()) : nil;
311
+ auto automaticDataCollectionEnabled = i.automaticDataCollectionEnabled;
312
+ d[@"automaticDataCollectionEnabled"] = automaticDataCollectionEnabled.has_value() ? @((BOOL)automaticDataCollectionEnabled.value()) : nil;
313
+ return d;
314
+ }) {}
315
+ inline JS::NativeRNFBTurboApp::FirebaseAppConfig::Builder::Builder(FirebaseAppConfig i) : _factory(^{
316
+ return i.unsafeRawValue();
317
+ }) {}
318
+ inline JS::NativeRNFBTurboApp::FirebaseAppOptions::Builder::Builder(const Input i) : _factory(^{
319
+ NSMutableDictionary *d = [NSMutableDictionary new];
320
+ auto apiKey = i.apiKey.get();
321
+ d[@"apiKey"] = apiKey;
322
+ auto appId = i.appId.get();
323
+ d[@"appId"] = appId;
324
+ auto databaseURL = i.databaseURL;
325
+ d[@"databaseURL"] = databaseURL;
326
+ auto messagingSenderId = i.messagingSenderId.get();
327
+ d[@"messagingSenderId"] = messagingSenderId;
328
+ auto projectId = i.projectId.get();
329
+ d[@"projectId"] = projectId;
330
+ auto storageBucket = i.storageBucket;
331
+ d[@"storageBucket"] = storageBucket;
332
+ auto authDomain = i.authDomain;
333
+ d[@"authDomain"] = authDomain;
334
+ auto iosBundleId = i.iosBundleId;
335
+ d[@"iosBundleId"] = iosBundleId;
336
+ auto iosClientId = i.iosClientId;
337
+ d[@"iosClientId"] = iosClientId;
338
+ auto appGroupId = i.appGroupId;
339
+ d[@"appGroupId"] = appGroupId;
340
+ return d;
341
+ }) {}
342
+ inline JS::NativeRNFBTurboApp::FirebaseAppOptions::Builder::Builder(FirebaseAppOptions i) : _factory(^{
343
+ return i.unsafeRawValue();
344
+ }) {}
345
+ inline JS::NativeRNFBTurboApp::NativeFirebaseApp::Builder::Builder(const Input i) : _factory(^{
346
+ NSMutableDictionary *d = [NSMutableDictionary new];
347
+ auto appConfig = i.appConfig.get();
348
+ d[@"appConfig"] = appConfig.buildUnsafeRawValue();
349
+ auto options = i.options.get();
350
+ d[@"options"] = options.buildUnsafeRawValue();
351
+ return d;
352
+ }) {}
353
+ inline JS::NativeRNFBTurboApp::NativeFirebaseApp::Builder::Builder(NativeFirebaseApp i) : _factory(^{
354
+ return i.unsafeRawValue();
355
+ }) {}
356
+ inline JS::NativeRNFBTurboApp::Constants::Builder::Builder(const Input i) : _factory(^{
357
+ NSMutableDictionary *d = [NSMutableDictionary new];
358
+ auto NATIVE_FIREBASE_APPS = i.NATIVE_FIREBASE_APPS.get();
359
+ d[@"NATIVE_FIREBASE_APPS"] = RCTConvertVecToArray(NATIVE_FIREBASE_APPS, ^id(JS::NativeRNFBTurboApp::NativeFirebaseApp::Builder el_) { return el_.buildUnsafeRawValue(); });
360
+ auto FIREBASE_RAW_JSON = i.FIREBASE_RAW_JSON.get();
361
+ d[@"FIREBASE_RAW_JSON"] = FIREBASE_RAW_JSON;
362
+ return d;
363
+ }) {}
364
+ inline JS::NativeRNFBTurboApp::Constants::Builder::Builder(Constants i) : _factory(^{
365
+ return i.unsafeRawValue();
366
+ }) {}
367
+ inline JS::NativeRNFBTurboUtils::Constants::Builder::Builder(const Input i) : _factory(^{
368
+ NSMutableDictionary *d = [NSMutableDictionary new];
369
+ auto isRunningInTestLab = i.isRunningInTestLab.get();
370
+ d[@"isRunningInTestLab"] = @(isRunningInTestLab);
371
+ auto MAIN_BUNDLE = i.MAIN_BUNDLE.get();
372
+ d[@"MAIN_BUNDLE"] = MAIN_BUNDLE;
373
+ auto CACHES_DIRECTORY = i.CACHES_DIRECTORY.get();
374
+ d[@"CACHES_DIRECTORY"] = CACHES_DIRECTORY;
375
+ auto DOCUMENT_DIRECTORY = i.DOCUMENT_DIRECTORY.get();
376
+ d[@"DOCUMENT_DIRECTORY"] = DOCUMENT_DIRECTORY;
377
+ auto EXTERNAL_DIRECTORY = i.EXTERNAL_DIRECTORY;
378
+ d[@"EXTERNAL_DIRECTORY"] = EXTERNAL_DIRECTORY;
379
+ auto EXTERNAL_STORAGE_DIRECTORY = i.EXTERNAL_STORAGE_DIRECTORY;
380
+ d[@"EXTERNAL_STORAGE_DIRECTORY"] = EXTERNAL_STORAGE_DIRECTORY;
381
+ auto TEMP_DIRECTORY = i.TEMP_DIRECTORY.get();
382
+ d[@"TEMP_DIRECTORY"] = TEMP_DIRECTORY;
383
+ auto LIBRARY_DIRECTORY = i.LIBRARY_DIRECTORY.get();
384
+ d[@"LIBRARY_DIRECTORY"] = LIBRARY_DIRECTORY;
385
+ auto PICTURES_DIRECTORY = i.PICTURES_DIRECTORY.get();
386
+ d[@"PICTURES_DIRECTORY"] = PICTURES_DIRECTORY;
387
+ auto MOVIES_DIRECTORY = i.MOVIES_DIRECTORY.get();
388
+ d[@"MOVIES_DIRECTORY"] = MOVIES_DIRECTORY;
389
+ auto FILE_TYPE_REGULAR = i.FILE_TYPE_REGULAR;
390
+ d[@"FILE_TYPE_REGULAR"] = FILE_TYPE_REGULAR;
391
+ auto FILE_TYPE_DIRECTORY = i.FILE_TYPE_DIRECTORY;
392
+ d[@"FILE_TYPE_DIRECTORY"] = FILE_TYPE_DIRECTORY;
393
+ return d;
394
+ }) {}
395
+ inline JS::NativeRNFBTurboUtils::Constants::Builder::Builder(Constants i) : _factory(^{
396
+ return i.unsafeRawValue();
397
+ }) {}
398
+ NS_ASSUME_NONNULL_END
399
+ #endif // RNFBAppTurboModules_H
@@ -0,0 +1,187 @@
1
+ /**
2
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
3
+ *
4
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
5
+ * once the code is regenerated.
6
+ *
7
+ * @generated by codegen project: GenerateModuleCpp.js
8
+ */
9
+
10
+ #include "RNFBAppTurboModulesJSI.h"
11
+
12
+ namespace facebook::react {
13
+
14
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
15
+ return static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->getConstants(
16
+ rt
17
+ );
18
+ }
19
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_initializeApp(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
20
+ return static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->initializeApp(
21
+ rt,
22
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt),
23
+ count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asObject(rt)
24
+ );
25
+ }
26
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_setAutomaticDataCollectionEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
27
+ static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->setAutomaticDataCollectionEnabled(
28
+ rt,
29
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
30
+ count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
31
+ );
32
+ return jsi::Value::undefined();
33
+ }
34
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_deleteApp(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
35
+ return static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->deleteApp(
36
+ rt,
37
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
38
+ );
39
+ }
40
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_eventsNotifyReady(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
41
+ static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->eventsNotifyReady(
42
+ rt,
43
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool()
44
+ );
45
+ return jsi::Value::undefined();
46
+ }
47
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_eventsGetListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
48
+ return static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->eventsGetListeners(
49
+ rt
50
+ );
51
+ }
52
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_eventsPing(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
53
+ return static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->eventsPing(
54
+ rt,
55
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
56
+ count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asObject(rt)
57
+ );
58
+ }
59
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_eventsAddListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
60
+ static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->eventsAddListener(
61
+ rt,
62
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
63
+ );
64
+ return jsi::Value::undefined();
65
+ }
66
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_eventsRemoveListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
67
+ static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->eventsRemoveListener(
68
+ rt,
69
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
70
+ count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
71
+ );
72
+ return jsi::Value::undefined();
73
+ }
74
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
75
+ static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->addListener(
76
+ rt,
77
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
78
+ );
79
+ return jsi::Value::undefined();
80
+ }
81
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
82
+ static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->removeListeners(
83
+ rt,
84
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber()
85
+ );
86
+ return jsi::Value::undefined();
87
+ }
88
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_metaGetAll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
89
+ return static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->metaGetAll(
90
+ rt
91
+ );
92
+ }
93
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_jsonGetAll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
94
+ return static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->jsonGetAll(
95
+ rt
96
+ );
97
+ }
98
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_preferencesSetBool(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
99
+ return static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->preferencesSetBool(
100
+ rt,
101
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
102
+ count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
103
+ );
104
+ }
105
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_preferencesSetString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
106
+ return static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->preferencesSetString(
107
+ rt,
108
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
109
+ count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
110
+ );
111
+ }
112
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_preferencesGetAll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
113
+ return static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->preferencesGetAll(
114
+ rt
115
+ );
116
+ }
117
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_preferencesClearAll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
118
+ return static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->preferencesClearAll(
119
+ rt
120
+ );
121
+ }
122
+ static jsi::Value __hostFunction_NativeRNFBTurboAppCxxSpecJSI_setLogLevel(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
123
+ static_cast<NativeRNFBTurboAppCxxSpecJSI *>(&turboModule)->setLogLevel(
124
+ rt,
125
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
126
+ );
127
+ return jsi::Value::undefined();
128
+ }
129
+
130
+ NativeRNFBTurboAppCxxSpecJSI::NativeRNFBTurboAppCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
131
+ : TurboModule("NativeRNFBTurboApp", jsInvoker) {
132
+ methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_getConstants};
133
+ methodMap_["initializeApp"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_initializeApp};
134
+ methodMap_["setAutomaticDataCollectionEnabled"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_setAutomaticDataCollectionEnabled};
135
+ methodMap_["deleteApp"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_deleteApp};
136
+ methodMap_["eventsNotifyReady"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_eventsNotifyReady};
137
+ methodMap_["eventsGetListeners"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_eventsGetListeners};
138
+ methodMap_["eventsPing"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_eventsPing};
139
+ methodMap_["eventsAddListener"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_eventsAddListener};
140
+ methodMap_["eventsRemoveListener"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_eventsRemoveListener};
141
+ methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_addListener};
142
+ methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_removeListeners};
143
+ methodMap_["metaGetAll"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_metaGetAll};
144
+ methodMap_["jsonGetAll"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_jsonGetAll};
145
+ methodMap_["preferencesSetBool"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_preferencesSetBool};
146
+ methodMap_["preferencesSetString"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_preferencesSetString};
147
+ methodMap_["preferencesGetAll"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_preferencesGetAll};
148
+ methodMap_["preferencesClearAll"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_preferencesClearAll};
149
+ methodMap_["setLogLevel"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAppCxxSpecJSI_setLogLevel};
150
+ }
151
+ static jsi::Value __hostFunction_NativeRNFBTurboUtilsCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
152
+ return static_cast<NativeRNFBTurboUtilsCxxSpecJSI *>(&turboModule)->getConstants(
153
+ rt
154
+ );
155
+ }
156
+ static jsi::Value __hostFunction_NativeRNFBTurboUtilsCxxSpecJSI_androidGetPlayServicesStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
157
+ return static_cast<NativeRNFBTurboUtilsCxxSpecJSI *>(&turboModule)->androidGetPlayServicesStatus(
158
+ rt
159
+ );
160
+ }
161
+ static jsi::Value __hostFunction_NativeRNFBTurboUtilsCxxSpecJSI_androidPromptForPlayServices(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
162
+ return static_cast<NativeRNFBTurboUtilsCxxSpecJSI *>(&turboModule)->androidPromptForPlayServices(
163
+ rt
164
+ );
165
+ }
166
+ static jsi::Value __hostFunction_NativeRNFBTurboUtilsCxxSpecJSI_androidResolutionForPlayServices(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
167
+ return static_cast<NativeRNFBTurboUtilsCxxSpecJSI *>(&turboModule)->androidResolutionForPlayServices(
168
+ rt
169
+ );
170
+ }
171
+ static jsi::Value __hostFunction_NativeRNFBTurboUtilsCxxSpecJSI_androidMakePlayServicesAvailable(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
172
+ return static_cast<NativeRNFBTurboUtilsCxxSpecJSI *>(&turboModule)->androidMakePlayServicesAvailable(
173
+ rt
174
+ );
175
+ }
176
+
177
+ NativeRNFBTurboUtilsCxxSpecJSI::NativeRNFBTurboUtilsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
178
+ : TurboModule("NativeRNFBTurboUtils", jsInvoker) {
179
+ methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboUtilsCxxSpecJSI_getConstants};
180
+ methodMap_["androidGetPlayServicesStatus"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboUtilsCxxSpecJSI_androidGetPlayServicesStatus};
181
+ methodMap_["androidPromptForPlayServices"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboUtilsCxxSpecJSI_androidPromptForPlayServices};
182
+ methodMap_["androidResolutionForPlayServices"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboUtilsCxxSpecJSI_androidResolutionForPlayServices};
183
+ methodMap_["androidMakePlayServicesAvailable"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboUtilsCxxSpecJSI_androidMakePlayServicesAvailable};
184
+ }
185
+
186
+
187
+ } // namespace facebook::react