@react-native-firebase/app 23.8.2 → 23.8.4

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 (423) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/RNFBApp.podspec +5 -1
  3. package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseVersion.java +1 -1
  4. package/dist/module/internal/NativeFirebaseError.js +7 -7
  5. package/dist/module/internal/NativeFirebaseError.js.map +1 -1
  6. package/dist/module/version.js +1 -1
  7. package/dist/typescript/lib/FirebaseApp.d.ts.map +1 -0
  8. package/dist/typescript/lib/common/Base64.d.ts.map +1 -0
  9. package/dist/typescript/lib/common/MutatableParams.d.ts.map +1 -0
  10. package/dist/typescript/lib/common/ReferenceBase.d.ts.map +1 -0
  11. package/dist/typescript/lib/common/deeps.d.ts.map +1 -0
  12. package/dist/typescript/lib/common/id.d.ts.map +1 -0
  13. package/dist/typescript/lib/common/index.d.ts.map +1 -0
  14. package/dist/typescript/lib/common/path.d.ts.map +1 -0
  15. package/dist/typescript/lib/common/promise.d.ts.map +1 -0
  16. package/dist/typescript/lib/common/serialize.d.ts.map +1 -0
  17. package/dist/typescript/lib/common/unitTestUtils.d.ts.map +1 -0
  18. package/dist/typescript/lib/common/validate.d.ts.map +1 -0
  19. package/dist/typescript/lib/index.d.ts.map +1 -0
  20. package/dist/typescript/lib/internal/FirebaseModule.d.ts.map +1 -0
  21. package/dist/typescript/lib/internal/NativeFirebaseError.d.ts.map +1 -0
  22. package/dist/typescript/lib/internal/NativeModules.d.ts.map +1 -0
  23. package/dist/typescript/lib/internal/RNFBNativeEventEmitter.d.ts.map +1 -0
  24. package/dist/typescript/lib/internal/SharedEventEmitter.d.ts.map +1 -0
  25. package/dist/typescript/lib/internal/asyncStorage.d.ts.map +1 -0
  26. package/dist/typescript/lib/internal/constants.d.ts.map +1 -0
  27. package/dist/typescript/lib/internal/index.d.ts.map +1 -0
  28. package/dist/typescript/lib/internal/logger.d.ts.map +1 -0
  29. package/dist/typescript/lib/internal/nativeModule.android.d.ts.map +1 -0
  30. package/dist/typescript/lib/internal/nativeModule.d.ts.map +1 -0
  31. package/dist/typescript/lib/internal/nativeModule.ios.d.ts.map +1 -0
  32. package/dist/typescript/lib/internal/nativeModuleAndroidIos.d.ts.map +1 -0
  33. package/dist/typescript/lib/internal/nativeModuleWeb.d.ts.map +1 -0
  34. package/dist/typescript/lib/internal/nullSerialization.d.ts.map +1 -0
  35. package/dist/typescript/lib/internal/registry/app.d.ts.map +1 -0
  36. package/dist/typescript/lib/internal/registry/namespace.d.ts.map +1 -0
  37. package/dist/typescript/lib/internal/registry/nativeModule.d.ts.map +1 -0
  38. package/dist/typescript/lib/internal/web/RNFBAppModule.d.ts.map +1 -0
  39. package/dist/typescript/lib/internal/web/firebaseApp.d.ts.map +1 -0
  40. package/dist/typescript/lib/internal/web/firebaseAppCheck.d.ts.map +1 -0
  41. package/dist/typescript/lib/internal/web/firebaseAuth.d.ts.map +1 -0
  42. package/dist/typescript/lib/internal/web/firebaseDatabase.d.ts.map +1 -0
  43. package/dist/typescript/lib/internal/web/firebaseFirestore.d.ts.map +1 -0
  44. package/dist/typescript/lib/internal/web/firebaseFunctions.d.ts.map +1 -0
  45. package/dist/typescript/lib/internal/web/firebaseInstallations.d.ts.map +1 -0
  46. package/dist/typescript/lib/internal/web/firebaseRemoteConfig.d.ts.map +1 -0
  47. package/dist/typescript/lib/internal/web/firebaseStorage.d.ts.map +1 -0
  48. package/dist/typescript/lib/internal/web/utils.d.ts.map +1 -0
  49. package/dist/typescript/{commonjs/lib → lib}/modular.d.ts +1 -1
  50. package/dist/typescript/lib/modular.d.ts.map +1 -0
  51. package/dist/typescript/lib/namespaced.d.ts.map +1 -0
  52. package/dist/typescript/lib/types/app.d.ts.map +1 -0
  53. package/dist/typescript/{module/lib → lib}/types/internal.d.ts +1 -1
  54. package/dist/typescript/lib/types/internal.d.ts.map +1 -0
  55. package/dist/typescript/lib/utils/UtilsStatics.d.ts.map +1 -0
  56. package/dist/typescript/lib/utils/index.d.ts.map +1 -0
  57. package/dist/typescript/lib/version.d.ts +2 -0
  58. package/dist/typescript/lib/version.d.ts.map +1 -0
  59. package/ios/RNFBApp/RNFBVersion.m +1 -1
  60. package/lib/internal/NativeFirebaseError.ts +7 -7
  61. package/lib/types/internal.ts +1 -1
  62. package/lib/version.ts +1 -1
  63. package/package.json +21 -57
  64. package/dist/commonjs/FirebaseApp.js +0 -85
  65. package/dist/commonjs/FirebaseApp.js.map +0 -1
  66. package/dist/commonjs/common/Base64.js +0 -106
  67. package/dist/commonjs/common/Base64.js.map +0 -1
  68. package/dist/commonjs/common/MutatableParams.js +0 -50
  69. package/dist/commonjs/common/MutatableParams.js.map +0 -1
  70. package/dist/commonjs/common/ReferenceBase.js +0 -49
  71. package/dist/commonjs/common/ReferenceBase.js.map +0 -1
  72. package/dist/commonjs/common/deeps.js +0 -82
  73. package/dist/commonjs/common/deeps.js.map +0 -1
  74. package/dist/commonjs/common/id.js +0 -88
  75. package/dist/commonjs/common/id.js.map +0 -1
  76. package/dist/commonjs/common/index.js +0 -799
  77. package/dist/commonjs/common/index.js.map +0 -1
  78. package/dist/commonjs/common/path.js +0 -133
  79. package/dist/commonjs/common/path.js.map +0 -1
  80. package/dist/commonjs/common/promise.js +0 -65
  81. package/dist/commonjs/common/promise.js.map +0 -1
  82. package/dist/commonjs/common/serialize.js +0 -48
  83. package/dist/commonjs/common/serialize.js.map +0 -1
  84. package/dist/commonjs/common/unitTestUtils.js +0 -54
  85. package/dist/commonjs/common/unitTestUtils.js.map +0 -1
  86. package/dist/commonjs/common/validate.js +0 -236
  87. package/dist/commonjs/common/validate.js.map +0 -1
  88. package/dist/commonjs/index.js +0 -42
  89. package/dist/commonjs/index.js.map +0 -1
  90. package/dist/commonjs/internal/FirebaseModule.js +0 -63
  91. package/dist/commonjs/internal/FirebaseModule.js.map +0 -1
  92. package/dist/commonjs/internal/NativeFirebaseError.js +0 -92
  93. package/dist/commonjs/internal/NativeFirebaseError.js.map +0 -1
  94. package/dist/commonjs/internal/NativeModules.js +0 -6
  95. package/dist/commonjs/internal/NativeModules.js.map +0 -1
  96. package/dist/commonjs/internal/RNFBNativeEventEmitter.js +0 -118
  97. package/dist/commonjs/internal/RNFBNativeEventEmitter.js.map +0 -1
  98. package/dist/commonjs/internal/SharedEventEmitter.js +0 -26
  99. package/dist/commonjs/internal/SharedEventEmitter.js.map +0 -1
  100. package/dist/commonjs/internal/asyncStorage.js +0 -83
  101. package/dist/commonjs/internal/asyncStorage.js.map +0 -1
  102. package/dist/commonjs/internal/constants.js +0 -27
  103. package/dist/commonjs/internal/constants.js.map +0 -1
  104. package/dist/commonjs/internal/index.js +0 -109
  105. package/dist/commonjs/internal/index.js.map +0 -1
  106. package/dist/commonjs/internal/logger.js +0 -256
  107. package/dist/commonjs/internal/logger.js.map +0 -1
  108. package/dist/commonjs/internal/nativeModule.android.js +0 -19
  109. package/dist/commonjs/internal/nativeModule.android.js.map +0 -1
  110. package/dist/commonjs/internal/nativeModule.ios.js +0 -19
  111. package/dist/commonjs/internal/nativeModule.ios.js.map +0 -1
  112. package/dist/commonjs/internal/nativeModule.js +0 -19
  113. package/dist/commonjs/internal/nativeModule.js.map +0 -1
  114. package/dist/commonjs/internal/nativeModuleAndroidIos.js +0 -51
  115. package/dist/commonjs/internal/nativeModuleAndroidIos.js.map +0 -1
  116. package/dist/commonjs/internal/nativeModuleWeb.js +0 -52
  117. package/dist/commonjs/internal/nativeModuleWeb.js.map +0 -1
  118. package/dist/commonjs/internal/nullSerialization.js +0 -162
  119. package/dist/commonjs/internal/nullSerialization.js.map +0 -1
  120. package/dist/commonjs/internal/registry/app.js +0 -238
  121. package/dist/commonjs/internal/registry/app.js.map +0 -1
  122. package/dist/commonjs/internal/registry/namespace.js +0 -269
  123. package/dist/commonjs/internal/registry/namespace.js.map +0 -1
  124. package/dist/commonjs/internal/registry/nativeModule.js +0 -224
  125. package/dist/commonjs/internal/registry/nativeModule.js.map +0 -1
  126. package/dist/commonjs/internal/web/RNFBAppModule.js +0 -273
  127. package/dist/commonjs/internal/web/RNFBAppModule.js.map +0 -1
  128. package/dist/commonjs/internal/web/firebaseApp.js +0 -17
  129. package/dist/commonjs/internal/web/firebaseApp.js.map +0 -1
  130. package/dist/commonjs/internal/web/firebaseAppCheck.js +0 -36
  131. package/dist/commonjs/internal/web/firebaseAppCheck.js.map +0 -1
  132. package/dist/commonjs/internal/web/firebaseAuth.js +0 -28
  133. package/dist/commonjs/internal/web/firebaseAuth.js.map +0 -1
  134. package/dist/commonjs/internal/web/firebaseDatabase.js +0 -28
  135. package/dist/commonjs/internal/web/firebaseDatabase.js.map +0 -1
  136. package/dist/commonjs/internal/web/firebaseFirestore.js +0 -28
  137. package/dist/commonjs/internal/web/firebaseFirestore.js.map +0 -1
  138. package/dist/commonjs/internal/web/firebaseFunctions.js +0 -28
  139. package/dist/commonjs/internal/web/firebaseFunctions.js.map +0 -1
  140. package/dist/commonjs/internal/web/firebaseInstallations.js +0 -36
  141. package/dist/commonjs/internal/web/firebaseInstallations.js.map +0 -1
  142. package/dist/commonjs/internal/web/firebaseRemoteConfig.js +0 -36
  143. package/dist/commonjs/internal/web/firebaseRemoteConfig.js.map +0 -1
  144. package/dist/commonjs/internal/web/firebaseStorage.js +0 -28
  145. package/dist/commonjs/internal/web/firebaseStorage.js.map +0 -1
  146. package/dist/commonjs/internal/web/memidb/FDBCursor.js +0 -479
  147. package/dist/commonjs/internal/web/memidb/FDBCursor.js.map +0 -1
  148. package/dist/commonjs/internal/web/memidb/FDBCursorWithValue.js +0 -19
  149. package/dist/commonjs/internal/web/memidb/FDBCursorWithValue.js.map +0 -1
  150. package/dist/commonjs/internal/web/memidb/FDBDatabase.js +0 -163
  151. package/dist/commonjs/internal/web/memidb/FDBDatabase.js.map +0 -1
  152. package/dist/commonjs/internal/web/memidb/FDBFactory.js +0 -264
  153. package/dist/commonjs/internal/web/memidb/FDBFactory.js.map +0 -1
  154. package/dist/commonjs/internal/web/memidb/FDBIndex.js +0 -191
  155. package/dist/commonjs/internal/web/memidb/FDBIndex.js.map +0 -1
  156. package/dist/commonjs/internal/web/memidb/FDBKeyRange.js +0 -78
  157. package/dist/commonjs/internal/web/memidb/FDBKeyRange.js.map +0 -1
  158. package/dist/commonjs/internal/web/memidb/FDBObjectStore.js +0 -383
  159. package/dist/commonjs/internal/web/memidb/FDBObjectStore.js.map +0 -1
  160. package/dist/commonjs/internal/web/memidb/FDBOpenDBRequest.js +0 -17
  161. package/dist/commonjs/internal/web/memidb/FDBOpenDBRequest.js.map +0 -1
  162. package/dist/commonjs/internal/web/memidb/FDBRequest.js +0 -41
  163. package/dist/commonjs/internal/web/memidb/FDBRequest.js.map +0 -1
  164. package/dist/commonjs/internal/web/memidb/FDBTransaction.js +0 -221
  165. package/dist/commonjs/internal/web/memidb/FDBTransaction.js.map +0 -1
  166. package/dist/commonjs/internal/web/memidb/FDBVersionChangeEvent.js +0 -20
  167. package/dist/commonjs/internal/web/memidb/FDBVersionChangeEvent.js.map +0 -1
  168. package/dist/commonjs/internal/web/memidb/LICENSE +0 -208
  169. package/dist/commonjs/internal/web/memidb/index.js +0 -45
  170. package/dist/commonjs/internal/web/memidb/index.js.map +0 -1
  171. package/dist/commonjs/internal/web/memidb/lib/Database.js +0 -38
  172. package/dist/commonjs/internal/web/memidb/lib/Database.js.map +0 -1
  173. package/dist/commonjs/internal/web/memidb/lib/FakeDOMStringList.js +0 -78
  174. package/dist/commonjs/internal/web/memidb/lib/FakeDOMStringList.js.map +0 -1
  175. package/dist/commonjs/internal/web/memidb/lib/FakeEvent.js +0 -45
  176. package/dist/commonjs/internal/web/memidb/lib/FakeEvent.js.map +0 -1
  177. package/dist/commonjs/internal/web/memidb/lib/FakeEventTarget.js +0 -111
  178. package/dist/commonjs/internal/web/memidb/lib/FakeEventTarget.js.map +0 -1
  179. package/dist/commonjs/internal/web/memidb/lib/Index.js +0 -164
  180. package/dist/commonjs/internal/web/memidb/lib/Index.js.map +0 -1
  181. package/dist/commonjs/internal/web/memidb/lib/KeyGenerator.js +0 -29
  182. package/dist/commonjs/internal/web/memidb/lib/KeyGenerator.js.map +0 -1
  183. package/dist/commonjs/internal/web/memidb/lib/ObjectStore.js +0 -180
  184. package/dist/commonjs/internal/web/memidb/lib/ObjectStore.js.map +0 -1
  185. package/dist/commonjs/internal/web/memidb/lib/RecordStore.js +0 -141
  186. package/dist/commonjs/internal/web/memidb/lib/RecordStore.js.map +0 -1
  187. package/dist/commonjs/internal/web/memidb/lib/binarySearch.js +0 -86
  188. package/dist/commonjs/internal/web/memidb/lib/binarySearch.js.map +0 -1
  189. package/dist/commonjs/internal/web/memidb/lib/canInjectKey.js +0 -30
  190. package/dist/commonjs/internal/web/memidb/lib/canInjectKey.js.map +0 -1
  191. package/dist/commonjs/internal/web/memidb/lib/cmp.js +0 -85
  192. package/dist/commonjs/internal/web/memidb/lib/cmp.js.map +0 -1
  193. package/dist/commonjs/internal/web/memidb/lib/enforceRange.js +0 -20
  194. package/dist/commonjs/internal/web/memidb/lib/enforceRange.js.map +0 -1
  195. package/dist/commonjs/internal/web/memidb/lib/errors.js +0 -95
  196. package/dist/commonjs/internal/web/memidb/lib/errors.js.map +0 -1
  197. package/dist/commonjs/internal/web/memidb/lib/extractKey.js +0 -46
  198. package/dist/commonjs/internal/web/memidb/lib/extractKey.js.map +0 -1
  199. package/dist/commonjs/internal/web/memidb/lib/scheduling.js +0 -37
  200. package/dist/commonjs/internal/web/memidb/lib/scheduling.js.map +0 -1
  201. package/dist/commonjs/internal/web/memidb/lib/types.js +0 -6
  202. package/dist/commonjs/internal/web/memidb/lib/types.js.map +0 -1
  203. package/dist/commonjs/internal/web/memidb/lib/validateKeyPath.js +0 -51
  204. package/dist/commonjs/internal/web/memidb/lib/validateKeyPath.js.map +0 -1
  205. package/dist/commonjs/internal/web/memidb/lib/valueToKey.js +0 -62
  206. package/dist/commonjs/internal/web/memidb/lib/valueToKey.js.map +0 -1
  207. package/dist/commonjs/internal/web/memidb/lib/valueToKeyRange.js +0 -26
  208. package/dist/commonjs/internal/web/memidb/lib/valueToKeyRange.js.map +0 -1
  209. package/dist/commonjs/internal/web/structuredClone/index.js +0 -239
  210. package/dist/commonjs/internal/web/structuredClone/index.js.map +0 -1
  211. package/dist/commonjs/internal/web/utils.js +0 -59
  212. package/dist/commonjs/internal/web/utils.js.map +0 -1
  213. package/dist/commonjs/modular.js +0 -190
  214. package/dist/commonjs/modular.js.map +0 -1
  215. package/dist/commonjs/namespaced.js +0 -35
  216. package/dist/commonjs/namespaced.js.map +0 -1
  217. package/dist/commonjs/package.json +0 -1
  218. package/dist/commonjs/types/app.js +0 -139
  219. package/dist/commonjs/types/app.js.map +0 -1
  220. package/dist/commonjs/types/internal.js +0 -6
  221. package/dist/commonjs/types/internal.js.map +0 -1
  222. package/dist/commonjs/utils/UtilsStatics.js +0 -59
  223. package/dist/commonjs/utils/UtilsStatics.js.map +0 -1
  224. package/dist/commonjs/utils/index.js +0 -94
  225. package/dist/commonjs/utils/index.js.map +0 -1
  226. package/dist/commonjs/version.js +0 -9
  227. package/dist/commonjs/version.js.map +0 -1
  228. package/dist/typescript/commonjs/lib/FirebaseApp.d.ts.map +0 -1
  229. package/dist/typescript/commonjs/lib/common/Base64.d.ts.map +0 -1
  230. package/dist/typescript/commonjs/lib/common/MutatableParams.d.ts.map +0 -1
  231. package/dist/typescript/commonjs/lib/common/ReferenceBase.d.ts.map +0 -1
  232. package/dist/typescript/commonjs/lib/common/deeps.d.ts.map +0 -1
  233. package/dist/typescript/commonjs/lib/common/id.d.ts.map +0 -1
  234. package/dist/typescript/commonjs/lib/common/index.d.ts.map +0 -1
  235. package/dist/typescript/commonjs/lib/common/path.d.ts.map +0 -1
  236. package/dist/typescript/commonjs/lib/common/promise.d.ts.map +0 -1
  237. package/dist/typescript/commonjs/lib/common/serialize.d.ts.map +0 -1
  238. package/dist/typescript/commonjs/lib/common/unitTestUtils.d.ts.map +0 -1
  239. package/dist/typescript/commonjs/lib/common/validate.d.ts.map +0 -1
  240. package/dist/typescript/commonjs/lib/index.d.ts.map +0 -1
  241. package/dist/typescript/commonjs/lib/internal/FirebaseModule.d.ts.map +0 -1
  242. package/dist/typescript/commonjs/lib/internal/NativeFirebaseError.d.ts.map +0 -1
  243. package/dist/typescript/commonjs/lib/internal/NativeModules.d.ts.map +0 -1
  244. package/dist/typescript/commonjs/lib/internal/RNFBNativeEventEmitter.d.ts.map +0 -1
  245. package/dist/typescript/commonjs/lib/internal/SharedEventEmitter.d.ts.map +0 -1
  246. package/dist/typescript/commonjs/lib/internal/asyncStorage.d.ts.map +0 -1
  247. package/dist/typescript/commonjs/lib/internal/constants.d.ts.map +0 -1
  248. package/dist/typescript/commonjs/lib/internal/index.d.ts.map +0 -1
  249. package/dist/typescript/commonjs/lib/internal/logger.d.ts.map +0 -1
  250. package/dist/typescript/commonjs/lib/internal/nativeModule.android.d.ts.map +0 -1
  251. package/dist/typescript/commonjs/lib/internal/nativeModule.d.ts.map +0 -1
  252. package/dist/typescript/commonjs/lib/internal/nativeModule.ios.d.ts.map +0 -1
  253. package/dist/typescript/commonjs/lib/internal/nativeModuleAndroidIos.d.ts.map +0 -1
  254. package/dist/typescript/commonjs/lib/internal/nativeModuleWeb.d.ts.map +0 -1
  255. package/dist/typescript/commonjs/lib/internal/nullSerialization.d.ts.map +0 -1
  256. package/dist/typescript/commonjs/lib/internal/registry/app.d.ts.map +0 -1
  257. package/dist/typescript/commonjs/lib/internal/registry/namespace.d.ts.map +0 -1
  258. package/dist/typescript/commonjs/lib/internal/registry/nativeModule.d.ts.map +0 -1
  259. package/dist/typescript/commonjs/lib/internal/web/RNFBAppModule.d.ts.map +0 -1
  260. package/dist/typescript/commonjs/lib/internal/web/firebaseApp.d.ts.map +0 -1
  261. package/dist/typescript/commonjs/lib/internal/web/firebaseAppCheck.d.ts.map +0 -1
  262. package/dist/typescript/commonjs/lib/internal/web/firebaseAuth.d.ts.map +0 -1
  263. package/dist/typescript/commonjs/lib/internal/web/firebaseDatabase.d.ts.map +0 -1
  264. package/dist/typescript/commonjs/lib/internal/web/firebaseFirestore.d.ts.map +0 -1
  265. package/dist/typescript/commonjs/lib/internal/web/firebaseFunctions.d.ts.map +0 -1
  266. package/dist/typescript/commonjs/lib/internal/web/firebaseInstallations.d.ts.map +0 -1
  267. package/dist/typescript/commonjs/lib/internal/web/firebaseRemoteConfig.d.ts.map +0 -1
  268. package/dist/typescript/commonjs/lib/internal/web/firebaseStorage.d.ts.map +0 -1
  269. package/dist/typescript/commonjs/lib/internal/web/utils.d.ts.map +0 -1
  270. package/dist/typescript/commonjs/lib/modular.d.ts.map +0 -1
  271. package/dist/typescript/commonjs/lib/namespaced.d.ts.map +0 -1
  272. package/dist/typescript/commonjs/lib/types/app.d.ts.map +0 -1
  273. package/dist/typescript/commonjs/lib/types/internal.d.ts +0 -101
  274. package/dist/typescript/commonjs/lib/types/internal.d.ts.map +0 -1
  275. package/dist/typescript/commonjs/lib/utils/UtilsStatics.d.ts.map +0 -1
  276. package/dist/typescript/commonjs/lib/utils/index.d.ts.map +0 -1
  277. package/dist/typescript/commonjs/lib/version.d.ts +0 -2
  278. package/dist/typescript/commonjs/lib/version.d.ts.map +0 -1
  279. package/dist/typescript/commonjs/package.json +0 -1
  280. package/dist/typescript/module/lib/FirebaseApp.d.ts +0 -21
  281. package/dist/typescript/module/lib/FirebaseApp.d.ts.map +0 -1
  282. package/dist/typescript/module/lib/common/Base64.d.ts +0 -23
  283. package/dist/typescript/module/lib/common/Base64.d.ts.map +0 -1
  284. package/dist/typescript/module/lib/common/MutatableParams.d.ts +0 -10
  285. package/dist/typescript/module/lib/common/MutatableParams.d.ts.map +0 -1
  286. package/dist/typescript/module/lib/common/ReferenceBase.d.ts +0 -12
  287. package/dist/typescript/module/lib/common/ReferenceBase.d.ts.map +0 -1
  288. package/dist/typescript/module/lib/common/deeps.d.ts +0 -19
  289. package/dist/typescript/module/lib/common/deeps.d.ts.map +0 -1
  290. package/dist/typescript/module/lib/common/id.d.ts +0 -12
  291. package/dist/typescript/module/lib/common/id.d.ts.map +0 -1
  292. package/dist/typescript/module/lib/common/index.d.ts +0 -33
  293. package/dist/typescript/module/lib/common/index.d.ts.map +0 -1
  294. package/dist/typescript/module/lib/common/path.d.ts +0 -51
  295. package/dist/typescript/module/lib/common/path.d.ts.map +0 -1
  296. package/dist/typescript/module/lib/common/promise.d.ts +0 -12
  297. package/dist/typescript/module/lib/common/promise.d.ts.map +0 -1
  298. package/dist/typescript/module/lib/common/serialize.d.ts +0 -4
  299. package/dist/typescript/module/lib/common/serialize.d.ts.map +0 -1
  300. package/dist/typescript/module/lib/common/unitTestUtils.d.ts +0 -4
  301. package/dist/typescript/module/lib/common/unitTestUtils.d.ts.map +0 -1
  302. package/dist/typescript/module/lib/common/validate.d.ts +0 -100
  303. package/dist/typescript/module/lib/common/validate.d.ts.map +0 -1
  304. package/dist/typescript/module/lib/index.d.ts +0 -4
  305. package/dist/typescript/module/lib/index.d.ts.map +0 -1
  306. package/dist/typescript/module/lib/internal/FirebaseModule.d.ts +0 -17
  307. package/dist/typescript/module/lib/internal/FirebaseModule.d.ts.map +0 -1
  308. package/dist/typescript/module/lib/internal/NativeFirebaseError.d.ts +0 -20
  309. package/dist/typescript/module/lib/internal/NativeFirebaseError.d.ts.map +0 -1
  310. package/dist/typescript/module/lib/internal/NativeModules.d.ts +0 -83
  311. package/dist/typescript/module/lib/internal/NativeModules.d.ts.map +0 -1
  312. package/dist/typescript/module/lib/internal/RNFBNativeEventEmitter.d.ts +0 -13
  313. package/dist/typescript/module/lib/internal/RNFBNativeEventEmitter.d.ts.map +0 -1
  314. package/dist/typescript/module/lib/internal/SharedEventEmitter.d.ts +0 -4
  315. package/dist/typescript/module/lib/internal/SharedEventEmitter.d.ts.map +0 -1
  316. package/dist/typescript/module/lib/internal/asyncStorage.d.ts +0 -10
  317. package/dist/typescript/module/lib/internal/asyncStorage.d.ts.map +0 -1
  318. package/dist/typescript/module/lib/internal/constants.d.ts +0 -5
  319. package/dist/typescript/module/lib/internal/constants.d.ts.map +0 -1
  320. package/dist/typescript/module/lib/internal/index.d.ts +0 -12
  321. package/dist/typescript/module/lib/internal/index.d.ts.map +0 -1
  322. package/dist/typescript/module/lib/internal/logger.d.ts +0 -83
  323. package/dist/typescript/module/lib/internal/logger.d.ts.map +0 -1
  324. package/dist/typescript/module/lib/internal/nativeModule.android.d.ts +0 -3
  325. package/dist/typescript/module/lib/internal/nativeModule.android.d.ts.map +0 -1
  326. package/dist/typescript/module/lib/internal/nativeModule.d.ts +0 -3
  327. package/dist/typescript/module/lib/internal/nativeModule.d.ts.map +0 -1
  328. package/dist/typescript/module/lib/internal/nativeModule.ios.d.ts +0 -3
  329. package/dist/typescript/module/lib/internal/nativeModule.ios.d.ts.map +0 -1
  330. package/dist/typescript/module/lib/internal/nativeModuleAndroidIos.d.ts +0 -10
  331. package/dist/typescript/module/lib/internal/nativeModuleAndroidIos.d.ts.map +0 -1
  332. package/dist/typescript/module/lib/internal/nativeModuleWeb.d.ts +0 -3
  333. package/dist/typescript/module/lib/internal/nativeModuleWeb.d.ts.map +0 -1
  334. package/dist/typescript/module/lib/internal/nullSerialization.d.ts +0 -16
  335. package/dist/typescript/module/lib/internal/nullSerialization.d.ts.map +0 -1
  336. package/dist/typescript/module/lib/internal/registry/app.d.ts +0 -47
  337. package/dist/typescript/module/lib/internal/registry/app.d.ts.map +0 -1
  338. package/dist/typescript/module/lib/internal/registry/namespace.d.ts +0 -26
  339. package/dist/typescript/module/lib/internal/registry/namespace.d.ts.map +0 -1
  340. package/dist/typescript/module/lib/internal/registry/nativeModule.d.ts +0 -17
  341. package/dist/typescript/module/lib/internal/registry/nativeModule.d.ts.map +0 -1
  342. package/dist/typescript/module/lib/internal/web/RNFBAppModule.d.ts +0 -139
  343. package/dist/typescript/module/lib/internal/web/RNFBAppModule.d.ts.map +0 -1
  344. package/dist/typescript/module/lib/internal/web/firebaseApp.d.ts +0 -2
  345. package/dist/typescript/module/lib/internal/web/firebaseApp.d.ts.map +0 -1
  346. package/dist/typescript/module/lib/internal/web/firebaseAppCheck.d.ts +0 -5
  347. package/dist/typescript/module/lib/internal/web/firebaseAppCheck.d.ts.map +0 -1
  348. package/dist/typescript/module/lib/internal/web/firebaseAuth.d.ts +0 -3
  349. package/dist/typescript/module/lib/internal/web/firebaseAuth.d.ts.map +0 -1
  350. package/dist/typescript/module/lib/internal/web/firebaseDatabase.d.ts +0 -3
  351. package/dist/typescript/module/lib/internal/web/firebaseDatabase.d.ts.map +0 -1
  352. package/dist/typescript/module/lib/internal/web/firebaseFirestore.d.ts +0 -3
  353. package/dist/typescript/module/lib/internal/web/firebaseFirestore.d.ts.map +0 -1
  354. package/dist/typescript/module/lib/internal/web/firebaseFunctions.d.ts +0 -3
  355. package/dist/typescript/module/lib/internal/web/firebaseFunctions.d.ts.map +0 -1
  356. package/dist/typescript/module/lib/internal/web/firebaseInstallations.d.ts +0 -5
  357. package/dist/typescript/module/lib/internal/web/firebaseInstallations.d.ts.map +0 -1
  358. package/dist/typescript/module/lib/internal/web/firebaseRemoteConfig.d.ts +0 -5
  359. package/dist/typescript/module/lib/internal/web/firebaseRemoteConfig.d.ts.map +0 -1
  360. package/dist/typescript/module/lib/internal/web/firebaseStorage.d.ts +0 -3
  361. package/dist/typescript/module/lib/internal/web/firebaseStorage.d.ts.map +0 -1
  362. package/dist/typescript/module/lib/internal/web/utils.d.ts +0 -13
  363. package/dist/typescript/module/lib/internal/web/utils.d.ts.map +0 -1
  364. package/dist/typescript/module/lib/modular.d.ts +0 -95
  365. package/dist/typescript/module/lib/modular.d.ts.map +0 -1
  366. package/dist/typescript/module/lib/namespaced.d.ts +0 -5
  367. package/dist/typescript/module/lib/namespaced.d.ts.map +0 -1
  368. package/dist/typescript/module/lib/types/app.d.ts +0 -561
  369. package/dist/typescript/module/lib/types/app.d.ts.map +0 -1
  370. package/dist/typescript/module/lib/types/internal.d.ts.map +0 -1
  371. package/dist/typescript/module/lib/utils/UtilsStatics.d.ts +0 -4
  372. package/dist/typescript/module/lib/utils/UtilsStatics.d.ts.map +0 -1
  373. package/dist/typescript/module/lib/utils/index.d.ts +0 -4
  374. package/dist/typescript/module/lib/utils/index.d.ts.map +0 -1
  375. package/dist/typescript/module/lib/version.d.ts +0 -2
  376. package/dist/typescript/module/lib/version.d.ts.map +0 -1
  377. /package/dist/typescript/{commonjs/lib → lib}/FirebaseApp.d.ts +0 -0
  378. /package/dist/typescript/{commonjs/lib → lib}/common/Base64.d.ts +0 -0
  379. /package/dist/typescript/{commonjs/lib → lib}/common/MutatableParams.d.ts +0 -0
  380. /package/dist/typescript/{commonjs/lib → lib}/common/ReferenceBase.d.ts +0 -0
  381. /package/dist/typescript/{commonjs/lib → lib}/common/deeps.d.ts +0 -0
  382. /package/dist/typescript/{commonjs/lib → lib}/common/id.d.ts +0 -0
  383. /package/dist/typescript/{commonjs/lib → lib}/common/index.d.ts +0 -0
  384. /package/dist/typescript/{commonjs/lib → lib}/common/path.d.ts +0 -0
  385. /package/dist/typescript/{commonjs/lib → lib}/common/promise.d.ts +0 -0
  386. /package/dist/typescript/{commonjs/lib → lib}/common/serialize.d.ts +0 -0
  387. /package/dist/typescript/{commonjs/lib → lib}/common/unitTestUtils.d.ts +0 -0
  388. /package/dist/typescript/{commonjs/lib → lib}/common/validate.d.ts +0 -0
  389. /package/dist/typescript/{commonjs/lib → lib}/index.d.ts +0 -0
  390. /package/dist/typescript/{commonjs/lib → lib}/internal/FirebaseModule.d.ts +0 -0
  391. /package/dist/typescript/{commonjs/lib → lib}/internal/NativeFirebaseError.d.ts +0 -0
  392. /package/dist/typescript/{commonjs/lib → lib}/internal/NativeModules.d.ts +0 -0
  393. /package/dist/typescript/{commonjs/lib → lib}/internal/RNFBNativeEventEmitter.d.ts +0 -0
  394. /package/dist/typescript/{commonjs/lib → lib}/internal/SharedEventEmitter.d.ts +0 -0
  395. /package/dist/typescript/{commonjs/lib → lib}/internal/asyncStorage.d.ts +0 -0
  396. /package/dist/typescript/{commonjs/lib → lib}/internal/constants.d.ts +0 -0
  397. /package/dist/typescript/{commonjs/lib → lib}/internal/index.d.ts +0 -0
  398. /package/dist/typescript/{commonjs/lib → lib}/internal/logger.d.ts +0 -0
  399. /package/dist/typescript/{commonjs/lib → lib}/internal/nativeModule.android.d.ts +0 -0
  400. /package/dist/typescript/{commonjs/lib → lib}/internal/nativeModule.d.ts +0 -0
  401. /package/dist/typescript/{commonjs/lib → lib}/internal/nativeModule.ios.d.ts +0 -0
  402. /package/dist/typescript/{commonjs/lib → lib}/internal/nativeModuleAndroidIos.d.ts +0 -0
  403. /package/dist/typescript/{commonjs/lib → lib}/internal/nativeModuleWeb.d.ts +0 -0
  404. /package/dist/typescript/{commonjs/lib → lib}/internal/nullSerialization.d.ts +0 -0
  405. /package/dist/typescript/{commonjs/lib → lib}/internal/registry/app.d.ts +0 -0
  406. /package/dist/typescript/{commonjs/lib → lib}/internal/registry/namespace.d.ts +0 -0
  407. /package/dist/typescript/{commonjs/lib → lib}/internal/registry/nativeModule.d.ts +0 -0
  408. /package/dist/typescript/{commonjs/lib → lib}/internal/web/RNFBAppModule.d.ts +0 -0
  409. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseApp.d.ts +0 -0
  410. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseAppCheck.d.ts +0 -0
  411. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseAuth.d.ts +0 -0
  412. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseDatabase.d.ts +0 -0
  413. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseFirestore.d.ts +0 -0
  414. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseFunctions.d.ts +0 -0
  415. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseInstallations.d.ts +0 -0
  416. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseRemoteConfig.d.ts +0 -0
  417. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseStorage.d.ts +0 -0
  418. /package/dist/typescript/{commonjs/lib → lib}/internal/web/utils.d.ts +0 -0
  419. /package/dist/typescript/{commonjs/lib → lib}/namespaced.d.ts +0 -0
  420. /package/dist/typescript/{commonjs/lib → lib}/types/app.d.ts +0 -0
  421. /package/dist/typescript/{commonjs/lib → lib}/utils/UtilsStatics.d.ts +0 -0
  422. /package/dist/typescript/{commonjs/lib → lib}/utils/index.d.ts +0 -0
  423. /package/dist/typescript/{module/package.json → package.json} +0 -0
@@ -1,59 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.emitEvent = emitEvent;
7
- exports.getWebError = getWebError;
8
- exports.guard = guard;
9
- var _reactNative = require("react-native");
10
- /*
11
- * Copyright (c) 2016-present Invertase Limited & Contributors
12
- *
13
- * Licensed under the Apache License, Version 2.0 (the "License");
14
- * you may not use this library except in compliance with the License.
15
- * You may obtain a copy of the License at
16
- *
17
- * http://www.apache.org/licenses/LICENSE-2.0
18
- *
19
- * Unless required by applicable law or agreed to in writing, software
20
- * distributed under the License is distributed on an "AS IS" BASIS,
21
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
- * See the License for the specific language governing permissions and
23
- * limitations under the License.
24
- *
25
- */
26
-
27
- // A general purpose guard function to catch errors and return a structured error object.
28
- function guard(fn) {
29
- return fn().catch(e => Promise.reject(getWebError(e)));
30
- }
31
-
32
- // Converts a thrown error to a structured error object
33
- // required by RNFirebase native module internals.
34
- function getWebError(error) {
35
- const obj = {
36
- code: error.code || 'unknown',
37
- message: error.message
38
- };
39
-
40
- // Some modules send codes as PERMISSION_DENIED, which is not
41
- // the same as the Firebase error code format.
42
- obj.code = obj.code.toLowerCase();
43
- // Replace _ with - in code
44
- obj.code = obj.code.replace(/_/g, '-');
45
-
46
- // Split out prefix, since we internally prefix all error codes already.
47
- if (obj.code.includes('/')) {
48
- const parts = obj.code.split('/');
49
- obj.code = parts[1] || obj.code;
50
- }
51
- return {
52
- ...obj,
53
- userInfo: obj
54
- };
55
- }
56
- function emitEvent(eventName, event) {
57
- setImmediate(() => _reactNative.DeviceEventEmitter.emit('rnfb_' + eventName, event));
58
- }
59
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNative","require","guard","fn","catch","e","Promise","reject","getWebError","error","obj","code","message","toLowerCase","replace","includes","parts","split","userInfo","emitEvent","eventName","event","setImmediate","DeviceEventEmitter","emit"],"sourceRoot":"../../../../lib","sources":["internal/web/utils.ts"],"mappings":";;;;;;;;AAiBA,IAAAA,YAAA,GAAAC,OAAA;AAjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA;AACO,SAASC,KAAKA,CAAIC,EAAoB,EAAc;EACzD,OAAOA,EAAE,CAAC,CAAC,CAACC,KAAK,CAACC,CAAC,IAAIC,OAAO,CAACC,MAAM,CAACC,WAAW,CAACH,CAAC,CAAC,CAAC,CAAC;AACxD;;AAEA;AACA;AACO,SAASG,WAAWA,CAACC,KAAgC,EAI1D;EACA,MAAMC,GAAG,GAAG;IACVC,IAAI,EAAEF,KAAK,CAACE,IAAI,IAAI,SAAS;IAC7BC,OAAO,EAAEH,KAAK,CAACG;EACjB,CAAC;;EAED;EACA;EACAF,GAAG,CAACC,IAAI,GAAGD,GAAG,CAACC,IAAI,CAACE,WAAW,CAAC,CAAC;EACjC;EACAH,GAAG,CAACC,IAAI,GAAGD,GAAG,CAACC,IAAI,CAACG,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC;;EAEtC;EACA,IAAIJ,GAAG,CAACC,IAAI,CAACI,QAAQ,CAAC,GAAG,CAAC,EAAE;IAC1B,MAAMC,KAAK,GAAGN,GAAG,CAACC,IAAI,CAACM,KAAK,CAAC,GAAG,CAAC;IACjCP,GAAG,CAACC,IAAI,GAAGK,KAAK,CAAC,CAAC,CAAC,IAAIN,GAAG,CAACC,IAAI;EACjC;EAEA,OAAO;IACL,GAAGD,GAAG;IACNQ,QAAQ,EAAER;EACZ,CAAC;AACH;AAEO,SAASS,SAASA,CAACC,SAAiB,EAAEC,KAAc,EAAQ;EACjEC,YAAY,CAAC,MAAMC,+BAAkB,CAACC,IAAI,CAAC,OAAO,GAAGJ,SAAS,EAAEC,KAAK,CAAC,CAAC;AACzE","ignoreList":[]}
@@ -1,190 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SDK_VERSION = void 0;
7
- exports.deleteApp = deleteApp;
8
- exports.getApp = getApp;
9
- exports.getApps = getApps;
10
- exports.initializeApp = initializeApp;
11
- exports.jsonGetAll = jsonGetAll;
12
- exports.metaGetAll = metaGetAll;
13
- exports.onLog = onLog;
14
- exports.preferencesClearAll = preferencesClearAll;
15
- exports.preferencesGetAll = preferencesGetAll;
16
- exports.preferencesSetBool = preferencesSetBool;
17
- exports.preferencesSetString = preferencesSetString;
18
- exports.registerVersion = registerVersion;
19
- exports.setLogLevel = setLogLevel;
20
- exports.setReactNativeAsyncStorage = setReactNativeAsyncStorage;
21
- var _index = require("./common/index.js");
22
- var _app = require("./internal/registry/app.js");
23
- var _logger = require("./internal/logger.js");
24
- var _version2 = require("./version.js");
25
- var _nativeModule = require("./internal/nativeModule");
26
- var _constants = require("./internal/constants.js");
27
- /*
28
- * Copyright (c) 2016-present Invertase Limited & Contributors
29
- *
30
- * Licensed under the Apache License, Version 2.0 (the "License");
31
- * you may not use this library except in compliance with the License.
32
- * You may obtain a copy of the License at
33
- *
34
- * http://www.apache.org/licenses/LICENSE-2.0
35
- *
36
- * Unless required by applicable law or agreed to in writing, software
37
- * distributed under the License is distributed on an "AS IS" BASIS,
38
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39
- * See the License for the specific language governing permissions and
40
- * limitations under the License.
41
- *
42
- */
43
-
44
- /**
45
- * Renders this app unusable and frees the resources of all associated services.
46
- * @param app - The app to delete.
47
- * @returns Promise<void>
48
- */
49
- function deleteApp(app) {
50
- return _app.deleteApp.call(null, app.name, app._nativeInitialized,
51
- // @ts-expect-error - Extra arg used by deprecation proxy to detect modular calls
52
- _index.MODULAR_DEPRECATION_ARG);
53
- }
54
-
55
- /**
56
- * Registers a library's name and version for platform logging purposes.
57
- * @param _libraryKeyOrName - library name or key.
58
- * @param _version - library version.
59
- * @param _variant - library variant. Optional.
60
- * @returns Promise<void>
61
- */
62
- function registerVersion(_libraryKeyOrName, _version, _variant) {
63
- throw new Error('registerVersion is only supported on Web');
64
- }
65
-
66
- /**
67
- * Sets log handler for VertexAI only currently.
68
- * @param logCallback - The callback function to handle logs.
69
- * @param options - Optional settings for log handling.
70
- * @returns void
71
- */
72
- function onLog(logCallback, options) {
73
- (0, _logger.setUserLogHandler)(logCallback, options);
74
- }
75
-
76
- /**
77
- * Gets the list of all initialized apps.
78
- * @returns An array of all initialized Firebase apps.
79
- */
80
- function getApps() {
81
- return _app.getApps.call(null,
82
- // @ts-expect-error - Extra arg used by deprecation proxy to detect modular calls
83
- _index.MODULAR_DEPRECATION_ARG);
84
- }
85
-
86
- /**
87
- * Initializes a Firebase app with the provided options and name.
88
- * @param options - Options to configure the services used in the app.
89
- * @param configOrName - The optional name of the app, or config for the app to initialize (a name of '[DEFAULT]' will be used if omitted).
90
- * @returns The initialized Firebase app.
91
- */
92
- function initializeApp(options, configOrName) {
93
- return _app.initializeApp.call(null, options, configOrName,
94
- // @ts-expect-error - Extra arg used by deprecation proxy to detect modular calls
95
- _index.MODULAR_DEPRECATION_ARG);
96
- }
97
-
98
- /**
99
- * Retrieves an instance of a Firebase app.
100
- * @param name - The optional name of the app to return ('[DEFAULT]' if omitted).
101
- * @returns The requested Firebase app instance.
102
- */
103
- function getApp(name) {
104
- return _app.getApp.call(null, name,
105
- // @ts-expect-error - Extra arg used by deprecation proxy to detect modular calls
106
- _index.MODULAR_DEPRECATION_ARG);
107
- }
108
-
109
- /**
110
- * Sets the log level across all Firebase SDKs.
111
- * @param logLevel - The log level to set ('debug', 'verbose', 'info', 'warn', 'error', 'silent').
112
- * @returns void
113
- */
114
- function setLogLevel(logLevel) {
115
- return _app.setLogLevel.call(null, logLevel,
116
- // @ts-expect-error - Extra arg used by deprecation proxy to detect modular calls
117
- _index.MODULAR_DEPRECATION_ARG);
118
- }
119
-
120
- /**
121
- * The `AsyncStorage` implementation to use for persisting data on 'Other' platforms.
122
- * If not specified, in memory persistence is used.
123
- *
124
- * This is required if you want to persist things like Auth sessions, Analytics device IDs, etc.
125
- */
126
- function setReactNativeAsyncStorage(asyncStorage) {
127
- return _app.setReactNativeAsyncStorage.call(null, asyncStorage,
128
- // @ts-expect-error - Extra arg used by deprecation proxy to detect modular calls
129
- _index.MODULAR_DEPRECATION_ARG);
130
- }
131
-
132
- /**
133
- * Gets react-native-firebase specific "meta" data from native Info.plist / AndroidManifest.xml
134
- * @returns map of key / value pairs containing native meta data
135
- */
136
- function metaGetAll() {
137
- const RNFBAppModule = (0, _nativeModule.getReactNativeModule)(_constants.APP_NATIVE_MODULE);
138
- return RNFBAppModule.metaGetAll();
139
- }
140
-
141
- /**
142
- * Gets react-native-firebase specific "firebase.json" data
143
- * @returns map of key / value pairs containing native firebase.json constants
144
- */
145
- function jsonGetAll() {
146
- const RNFBAppModule = (0, _nativeModule.getReactNativeModule)(_constants.APP_NATIVE_MODULE);
147
- return RNFBAppModule.jsonGetAll();
148
- }
149
-
150
- /**
151
- * Clears react-native-firebase specific native preferences
152
- * @returns Promise<void>
153
- */
154
- function preferencesClearAll() {
155
- const RNFBAppModule = (0, _nativeModule.getReactNativeModule)(_constants.APP_NATIVE_MODULE);
156
- return RNFBAppModule.preferencesClearAll();
157
- }
158
-
159
- /**
160
- * Gets react-native-firebase specific native preferences
161
- * @returns map of key / value pairs containing native preferences data
162
- */
163
- function preferencesGetAll() {
164
- const RNFBAppModule = (0, _nativeModule.getReactNativeModule)(_constants.APP_NATIVE_MODULE);
165
- return RNFBAppModule.preferencesGetAll();
166
- }
167
-
168
- /**
169
- * Sets react-native-firebase specific native boolean preference
170
- * @param key the name of the native preference to set
171
- * @param value the value of the native preference to set
172
- * @returns Promise<void>
173
- */
174
- function preferencesSetBool(key, value) {
175
- const RNFBAppModule = (0, _nativeModule.getReactNativeModule)(_constants.APP_NATIVE_MODULE);
176
- return RNFBAppModule.preferencesSetBool(key, value);
177
- }
178
-
179
- /**
180
- * Sets react-native-firebase specific native string preference
181
- * @param key the name of the native preference to set
182
- * @param value the value of the native preference to set
183
- * @returns Promise<void>
184
- */
185
- function preferencesSetString(key, value) {
186
- const RNFBAppModule = (0, _nativeModule.getReactNativeModule)(_constants.APP_NATIVE_MODULE);
187
- return RNFBAppModule.preferencesSetString(key, value);
188
- }
189
- const SDK_VERSION = exports.SDK_VERSION = _version2.version;
190
- //# sourceMappingURL=modular.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_index","require","_app","_logger","_version2","_nativeModule","_constants","deleteApp","app","deleteAppCompat","call","name","_nativeInitialized","MODULAR_DEPRECATION_ARG","registerVersion","_libraryKeyOrName","_version","_variant","Error","onLog","logCallback","options","setUserLogHandler","getApps","getAppsCompat","initializeApp","configOrName","initializeAppCompat","getApp","getAppCompat","setLogLevel","logLevel","setLogLevelCompat","setReactNativeAsyncStorage","asyncStorage","setReactNativeAsyncStorageCompat","metaGetAll","RNFBAppModule","getReactNativeModule","APP_NATIVE_MODULE","jsonGetAll","preferencesClearAll","preferencesGetAll","preferencesSetBool","key","value","preferencesSetString","SDK_VERSION","exports","sdkVersion"],"sourceRoot":"../../lib","sources":["modular.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;AAiBA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,IAAA,GAAAD,OAAA;AAQA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AA9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAiBA;AACA;AACA;AACA;AACA;AACO,SAASM,SAASA,CAACC,GAAoC,EAAiB;EAC7E,OAAOC,cAAe,CAACC,IAAI,CACzB,IAAI,EACJF,GAAG,CAACG,IAAI,EACPH,GAAG,CAASI,kBAAkB;EAC/B;EACAC,8BACF,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,eAAeA,CAC7BC,iBAAyB,EACzBC,QAAgB,EAChBC,QAAiB,EACF;EACf,MAAM,IAAIC,KAAK,CAAC,0CAA0C,CAAC;AAC7D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,KAAKA,CAACC,WAA+B,EAAEC,OAAoB,EAAQ;EACjF,IAAAC,yBAAiB,EAACF,WAAW,EAAEC,OAAO,CAAC;AACzC;;AAEA;AACA;AACA;AACA;AACO,SAASE,OAAOA,CAAA,EAAsC;EAC3D,OAAOC,YAAa,CAACd,IAAI,CACvB,IAAI;EACJ;EACAG,8BACF,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,SAASY,aAAaA,CAC3BJ,OAA+C,EAC/CK,YAA6D,EACnB;EAC1C,OAAOC,kBAAmB,CAACjB,IAAI,CAC7B,IAAI,EACJW,OAAO,EACPK,YAAY;EACZ;EACAb,8BACF,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACO,SAASe,MAAMA,CAACjB,IAAa,EAAmC;EACrE,OAAOkB,WAAY,CAACnB,IAAI,CACtB,IAAI,EACJC,IAAI;EACJ;EACAE,8BACF,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACO,SAASiB,WAAWA,CAACC,QAA4C,EAAQ;EAC9E,OAAOC,gBAAiB,CAACtB,IAAI,CAC3B,IAAI,EACJqB,QAAQ;EACR;EACAlB,8BACF,CAAC;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,SAASoB,0BAA0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W,GAAAC,OAAA,CAAAD,WAAA,GAAGE,iBAAU","ignoreList":[]}
@@ -1,35 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.firebase = exports.default = void 0;
7
- Object.defineProperty(exports, "utils", {
8
- enumerable: true,
9
- get: function () {
10
- return _index.default;
11
- }
12
- });
13
- var _namespace = require("./internal/registry/namespace.js");
14
- var _index = _interopRequireDefault(require("./utils/index.js"));
15
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
- /*
17
- * Copyright (c) 2016-present Invertase Limited & Contributors
18
- *
19
- * Licensed under the Apache License, Version 2.0 (the "License");
20
- * you may not use this library except in compliance with the License.
21
- * You may obtain a copy of the License at
22
- *
23
- * http://www.apache.org/licenses/LICENSE-2.0
24
- *
25
- * Unless required by applicable law or agreed to in writing, software
26
- * distributed under the License is distributed on an "AS IS" BASIS,
27
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28
- * See the License for the specific language governing permissions and
29
- * limitations under the License.
30
- *
31
- */
32
-
33
- const firebase = exports.firebase = (0, _namespace.getFirebaseRoot)();
34
- var _default = exports.default = firebase;
35
- //# sourceMappingURL=namespaced.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_namespace","require","_index","_interopRequireDefault","e","__esModule","default","firebase","exports","getFirebaseRoot","_default"],"sourceRoot":"../../lib","sources":["namespaced.ts"],"mappings":";;;;;;;;;;;;AAiBA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAA4B,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAlB5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAKO,MAAMG,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAG,IAAAE,0BAAe,EAAC,CAAC;AAAC,IAAAC,QAAA,GAAAF,OAAA,CAAAF,OAAA,GAG3BC,QAAQ","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"type":"commonjs"}
@@ -1,139 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Utils = exports.ReactNativeFirebase = void 0;
7
- /*
8
- * Copyright (c) 2016-present Invertase Limited & Contributors
9
- *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * you may not use this library except in compliance with the License.
12
- * You may obtain a copy of the License at
13
- *
14
- * http://www.apache.org/licenses/LICENSE-2.0
15
- *
16
- * Unless required by applicable law or agreed to in writing, software
17
- * distributed under the License is distributed on an "AS IS" BASIS,
18
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- * See the License for the specific language governing permissions and
20
- * limitations under the License.
21
- *
22
- */
23
- /**
24
- * Core React Native Firebase package types.
25
- *
26
- * @firebase app
27
- */
28
- // eslint-disable-next-line @typescript-eslint/no-namespace
29
- let ReactNativeFirebase = exports.ReactNativeFirebase = void 0;
30
- (function (_ReactNativeFirebase) {
31
- /**
32
- * Base interface for FirebaseApp containing core properties and methods.
33
- * The concrete FirebaseApp class implements this interface.
34
- * Module-specific methods (auth(), analytics(), etc.) are added to FirebaseApp via declaration merging.
35
- */
36
-
37
- /**
38
- * Full FirebaseApp interface that extends the base interface.
39
- * Module-specific methods (auth(), analytics(), etc.) are added here via declaration merging
40
- * from individual package .d.ts files.
41
- */
42
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type
43
-
44
- /**
45
- * Interface for a supplied `AsyncStorage`.
46
- */
47
-
48
- /**
49
- * A class that all React Native Firebase modules extend from to provide default behaviour.
50
- */
51
- class FirebaseModule {}
52
- _ReactNativeFirebase.FirebaseModule = FirebaseModule; // eslint-disable-next-line @typescript-eslint/no-empty-object-type
53
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type
54
- /**
55
- * Type for the `firebase` named export from module packages.
56
- * Provides complete typing for:
57
- * - Root level access: `firebase.functions(app?)`
58
- * - App level access: `firebase.app().functions(region?)`
59
- * - Statics: `firebase.functions.HttpsErrorCode`
60
- * - Root properties: `firebase.SDK_VERSION`, `firebase.app()`, etc.
61
- *
62
- * @typeParam Namespace - The module namespace (e.g., 'functions', 'auth', 'firestore')
63
- * @typeParam M - The module instance type (must extend FirebaseModule with `app` property)
64
- * @typeParam S - The module statics type
65
- * @typeParam HasCustomArg - true if app-level accessor takes optional string (region/url/databaseId)
66
- *
67
- * @example
68
- * // In functions package:
69
- * export const firebase = getFirebaseRoot() as ReactNativeFirebase.FirebaseNamespacedExport<
70
- * 'functions',
71
- * FunctionsModule,
72
- * FunctionsStatics,
73
- * true // functions() takes regionOrCustomDomain
74
- * >;
75
- */
76
- })(ReactNativeFirebase || (exports.ReactNativeFirebase = ReactNativeFirebase = {}));
77
- /**
78
- * @firebase utils
79
- */
80
- // eslint-disable-next-line @typescript-eslint/no-namespace
81
- let Utils = exports.Utils = void 0;
82
- (function (_Utils) {
83
- var FirebaseModule = ReactNativeFirebase.FirebaseModule;
84
- /**
85
- * A collection of native device file paths to aid in the usage of file path based methods.
86
- *
87
- * Concatenate a file path with your target file name when using with Storage `putFile` or `writeToFile`.
88
- *
89
- * ```js
90
- * firebase.utils.FilePath;
91
- * ```
92
- */
93
- /**
94
- * For further information on the status codes available & what they represent, please head over
95
- * to ConnectionResult documentation:
96
- * https://developers.google.com/android/reference/com/google/android/gms/common/ConnectionResult
97
- */
98
- let PlayServicesAvailabilityStatusCodes = /*#__PURE__*/function (PlayServicesAvailabilityStatusCodes) {
99
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["API_UNAVAILABLE"] = 16] = "API_UNAVAILABLE";
100
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["CANCELED"] = 13] = "CANCELED";
101
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["DEVELOPER_ERROR"] = 10] = "DEVELOPER_ERROR";
102
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["DRIVE_EXTERNAL_STORAGE_REQUIRED"] = 1500] = "DRIVE_EXTERNAL_STORAGE_REQUIRED";
103
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["INTERNAL_ERROR"] = 8] = "INTERNAL_ERROR";
104
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["INTERRUPTED"] = 15] = "INTERRUPTED";
105
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["INVALID_ACCOUNT"] = 5] = "INVALID_ACCOUNT";
106
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["LICENSE_CHECK_FAILED"] = 11] = "LICENSE_CHECK_FAILED";
107
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["NETWORK_ERROR"] = 7] = "NETWORK_ERROR";
108
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["RESOLUTION_REQUIRED"] = 6] = "RESOLUTION_REQUIRED";
109
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["RESTRICTED_PROFILE"] = 20] = "RESTRICTED_PROFILE";
110
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["SERVICE_DISABLED"] = 3] = "SERVICE_DISABLED";
111
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["SERVICE_INVALID"] = 9] = "SERVICE_INVALID";
112
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["SERVICE_MISSING"] = 1] = "SERVICE_MISSING";
113
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["SERVICE_MISSING_PERMISSION"] = 19] = "SERVICE_MISSING_PERMISSION";
114
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["SERVICE_UPDATING"] = 18] = "SERVICE_UPDATING";
115
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["SERVICE_VERSION_UPDATE_REQUIRED"] = 2] = "SERVICE_VERSION_UPDATE_REQUIRED";
116
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["SIGN_IN_FAILED"] = 17] = "SIGN_IN_FAILED";
117
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["SIGN_IN_REQUIRED"] = 4] = "SIGN_IN_REQUIRED";
118
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["SUCCESS"] = 0] = "SUCCESS";
119
- PlayServicesAvailabilityStatusCodes[PlayServicesAvailabilityStatusCodes["TIMEOUT"] = 14] = "TIMEOUT";
120
- return PlayServicesAvailabilityStatusCodes;
121
- }({});
122
- _Utils.PlayServicesAvailabilityStatusCodes = PlayServicesAvailabilityStatusCodes;
123
- /**
124
- * The React Native Firebase Utils service interface.
125
- *
126
- * > This module is available for the default app only.
127
- *
128
- * #### Example
129
- *
130
- * Get the Utils service for the default app:
131
- *
132
- * ```js
133
- * const defaultAppUtils = firebase.utils();
134
- * ```
135
- */
136
- class Module extends FirebaseModule {}
137
- _Utils.Module = Module;
138
- })(Utils || (exports.Utils = Utils = {})); // Re-export FirebaseApp as a named type for easier importing
139
- //# sourceMappingURL=app.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["ReactNativeFirebase","exports","_ReactNativeFirebase","FirebaseModule","Utils","_Utils","PlayServicesAvailabilityStatusCodes","Module"],"sourceRoot":"../../../lib","sources":["types/app.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAAA,IACiBA,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA;AAAA,WAAAE,oBAAA;EA4GlC;AACF;AACA;AACA;AACA;;EAyBE;AACF;AACA;A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C,CAAnCA,mCAAmC;IAAA,OAAnCA,mCAAmC;EAAA;EAAAD,MAAA,CAAAC,mCAAA,GAAAA,mCAAA;EAiF/C;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACS,MAAeC,MAAM,SAASJ,cAAc,CAAC;EA0EnDE,MAAA,CAAAE,MAAA,GAAAA,MAAA;AAAA,GA/ScH,KAAK,KAAAH,OAAA,CAAAG,KAAA,GAALA,KAAK,SA+TtB","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=internal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../lib","sources":["types/internal.ts"],"mappings":"","ignoreList":[]}
@@ -1,59 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _reactNative = require("react-native");
8
- var _index = require("../common/index.js");
9
- var _version = require("../version.js");
10
- /*
11
- * Copyright (c) 2016-present Invertase Limited & Contributors
12
- *
13
- * Licensed under the Apache License, Version 2.0 (the "License");
14
- * you may not use this library except in compliance with the License.
15
- * You may obtain a copy of the License at
16
- *
17
- * http://www.apache.org/licenses/LICENSE-2.0
18
- *
19
- * Unless required by applicable law or agreed to in writing, software
20
- * distributed under the License is distributed on an "AS IS" BASIS,
21
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
- * See the License for the specific language governing permissions and
23
- * limitations under the License.
24
- *
25
- */
26
-
27
- const PATH_NAMES = ['MAIN_BUNDLE', 'CACHES_DIRECTORY', 'DOCUMENT_DIRECTORY', 'EXTERNAL_DIRECTORY', 'EXTERNAL_STORAGE_DIRECTORY', 'TEMP_DIRECTORY', 'LIBRARY_DIRECTORY', 'PICTURES_DIRECTORY', 'MOVIES_DIRECTORY'];
28
- const PATH_FILE_TYPES = ['FILE_TYPE_REGULAR', 'FILE_TYPE_DIRECTORY'];
29
- const paths = {};
30
- let processedPathConstants = false;
31
- function processPathConstants(nativeModule) {
32
- if (processedPathConstants || !nativeModule) {
33
- return paths;
34
- }
35
- processedPathConstants = true;
36
- for (let i = 0; i < PATH_NAMES.length; i++) {
37
- const path = PATH_NAMES[i];
38
- if (path) {
39
- paths[path] = nativeModule[path] ? (0, _index.stripTrailingSlash)(nativeModule[path]) : null;
40
- }
41
- }
42
- for (let i = 0; i < PATH_FILE_TYPES.length; i++) {
43
- const pathFileType = PATH_FILE_TYPES[i];
44
- if (pathFileType) {
45
- paths[pathFileType] = (0, _index.stripTrailingSlash)(nativeModule[pathFileType]);
46
- }
47
- }
48
- Object.freeze(paths);
49
- return paths;
50
- }
51
- const statics = {
52
- SDK_VERSION: _version.version,
53
- get FilePath() {
54
- // We don't support path constants on non-native platforms.
55
- return processPathConstants(_index.isOther ? {} : _reactNative.NativeModules.RNFBUtilsModule);
56
- }
57
- };
58
- var _default = exports.default = statics;
59
- //# sourceMappingURL=UtilsStatics.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNative","require","_index","_version","PATH_NAMES","PATH_FILE_TYPES","paths","processedPathConstants","processPathConstants","nativeModule","i","length","path","stripTrailingSlash","pathFileType","Object","freeze","statics","SDK_VERSION","version","FilePath","isOther","NativeModules","RNFBUtilsModule","_default","exports","default"],"sourceRoot":"../../../lib","sources":["utils/UtilsStatics.ts"],"mappings":";;;;;;AAiBA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,QAAA,GAAAF,OAAA;AApBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAOA,MAAMG,UAAU,GAAG,CACjB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,4BAA4B,EAC5B,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,kBAA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0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _index = require("../common/index.js");
8
- var _index2 = require("../internal/index.js");
9
- var _UtilsStatics = _interopRequireDefault(require("./UtilsStatics.js"));
10
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
- /*
12
- * Copyright (c) 2016-present Invertase Limited & Contributors
13
- *
14
- * Licensed under the Apache License, Version 2.0 (the "License");
15
- * you may not use this library except in compliance with the License.
16
- * You may obtain a copy of the License at
17
- *
18
- * http://www.apache.org/licenses/LICENSE-2.0
19
- *
20
- * Unless required by applicable law or agreed to in writing, software
21
- * distributed under the License is distributed on an "AS IS" BASIS,
22
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23
- * See the License for the specific language governing permissions and
24
- * limitations under the License.
25
- *
26
- */
27
-
28
- const namespace = 'utils';
29
- const statics = _UtilsStatics.default;
30
- const nativeModuleName = 'RNFBUtilsModule';
31
- class FirebaseUtilsModule extends _index2.FirebaseModule {
32
- get isRunningInTestLab() {
33
- if (_index.isIOS) {
34
- return false;
35
- }
36
- return this.native.isRunningInTestLab;
37
- }
38
- get playServicesAvailability() {
39
- if (_index.isIOS) {
40
- return {
41
- isAvailable: true,
42
- status: 0,
43
- hasResolution: false,
44
- isUserResolvableError: false,
45
- error: undefined
46
- };
47
- }
48
- return this.native.androidPlayServices;
49
- }
50
- getPlayServicesStatus() {
51
- if (_index.isIOS) {
52
- return Promise.resolve({
53
- isAvailable: true,
54
- status: 0,
55
- hasResolution: false,
56
- isUserResolvableError: false,
57
- error: undefined
58
- });
59
- }
60
- return this.native.androidGetPlayServicesStatus();
61
- }
62
- promptForPlayServices() {
63
- if (_index.isIOS) {
64
- return Promise.resolve();
65
- }
66
- return this.native.androidPromptForPlayServices();
67
- }
68
- makePlayServicesAvailable() {
69
- if (_index.isIOS) {
70
- return Promise.resolve();
71
- }
72
- return this.native.androidMakePlayServicesAvailable();
73
- }
74
- resolutionForPlayServices() {
75
- if (_index.isIOS) {
76
- return Promise.resolve();
77
- }
78
- return this.native.androidResolutionForPlayServices();
79
- }
80
- }
81
-
82
- // import { utils } from '@react-native-firebase/app';
83
- // utils().X(...);
84
- var _default = exports.default = (0, _index2.createModuleNamespace)({
85
- statics,
86
- version: _UtilsStatics.default.SDK_VERSION,
87
- namespace,
88
- nativeModuleName,
89
- nativeEvents: false,
90
- hasMultiAppSupport: false,
91
- hasCustomUrlOrRegionSupport: false,
92
- ModuleClass: FirebaseUtilsModule
93
- });
94
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_index","require","_index2","_UtilsStatics","_interopRequireDefault","e","__esModule","default","namespace","statics","UtilsStatics","nativeModuleName","FirebaseUtilsModule","FirebaseModule","isRunningInTestLab","isIOS","native","playServicesAvailability","isAvailable","status","hasResolution","isUserResolvableError","error","undefined","androidPlayServices","getPlayServicesStatus","Promise","resolve","androidGetPlayServicesStatus","promptForPlayServices","androidPromptForPlayServices","makePlayServicesAvailable","androidMakePlayServicesAvailable","resolutionForPlayServices","androidResolutionForPlayServices","_default","exports","createModuleNamespace","version","SDK_VERSION","nativeEvents","hasMultiAppSupport","hasCustomUrlOrRegionSupport","ModuleClass"],"sourceRoot":"../../../lib","sources":["utils/index.ts"],"mappings":";;;;;;AAiBA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAC,sBAAA,CAAAH,OAAA;AAA0C,SAAAG,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAnB1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAOA,MAAMG,SAAS,GAAG,OAAO;AACzB,MAAMC,OAAO,GAAGC,qBAAY;AAC5B,MAAMC,gBAAgB,GAAG,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AC,CAAC;EACvD;AACF;;AAEA;AACA;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAA7B,OAAA,GACe,IAAA8B,6BAAqB,EAAC;EACnC5B,OAAO;EACP6B,OAAO,EAAE5B,qBAAY,CAAC6B,WAAW;EACjC/B,SAAS;EACTG,gBAAgB;EAChB6B,YAAY,EAAE,KAAK;EACnBC,kBAAkB,EAAE,KAAK;EACzBC,2BAA2B,EAAE,KAAK;EAClCC,WAAW,EAAE/B;AACf,CAAC,CAAC","ignoreList":[]}
@@ -1,9 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.version = void 0;
7
- // Generated by genversion.
8
- const version = exports.version = '23.8.2';
9
- //# sourceMappingURL=version.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["version","exports"],"sourceRoot":"../../lib","sources":["version.ts"],"mappings":";;;;;;AAAA;AACO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,QAAQ","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FirebaseApp.d.ts","sourceRoot":"","sources":["../../../../lib/FirebaseApp.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAE9D,MAAM,CAAC,OAAO,OAAO,WAAY,YAAW,mBAAmB,CAAC,eAAe;IAC7E,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,QAAQ,CAAU;IAC1B,OAAO,CAAC,UAAU,CAAsB;IACxC,OAAO,CAAC,QAAQ,CAAyC;IACzD,OAAO,CAAC,+BAA+B,CAAU;IACjD,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;gBAG1B,OAAO,EAAE,mBAAmB,CAAC,kBAAkB,EAC/C,SAAS,EAAE,mBAAmB,CAAC,iBAAiB,EAChD,UAAU,EAAE,OAAO,EACnB,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC;IAmBhC,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,OAAO,IAAI,mBAAmB,CAAC,kBAAkB,CAEpD;IAED,IAAI,8BAA8B,IAAI,OAAO,CAE5C;IAED,IAAI,8BAA8B,CAAC,OAAO,EAAE,OAAO,EAIlD;IAED,OAAO,CAAC,eAAe;IAMvB,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAMvD,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAMvB,QAAQ,IAAI,MAAM;IAMlB,KAAK,IAAI,KAAK,CAAC,MAAM;CAGtB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Base64.d.ts","sourceRoot":"","sources":["../../../../../lib/common/Base64.ts"],"names":[],"mappings":"AAuBA;;GAEG;AACH,iBAAS,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAuBnC;AAED;;GAEG;AACH,iBAAS,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CA0BnC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAAC;IACpC,MAAM,EAAE,UAAU,GAAG,QAAQ,CAAC;CAC/B;AAED;;GAEG;AACH,iBAAS,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC,YAAY,CAAC,CA6B9E;;;;;;AAED,wBAIE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MutatableParams.d.ts","sourceRoot":"","sources":["../../../../../lib/common/MutatableParams.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,OAAO,OAAO,eAAe;IAClC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1C,eAAe,EAAE,eAAe,CAAC;gBAErB,cAAc,CAAC,EAAE,eAAe;IAU5C,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,eAAe;IAKnD,GAAG,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IAI9C,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAIjC,QAAQ,IAAI,IAAI;CAGjB"}