[🐛] Modular initializeFirestore() doesn't support non-default databases #8456
Labels
impact: web-implementation
An API in RNFB does not conform to the Firebase Web SDK
Needs Attention
plugin: firestore
Firebase Cloud Firestore
type: enhancement
Implements a new Feature
Issue
🔥
Attempting to do this:
initializes the db but it still talks to the
(default)
database.See
TODO
here:react-native-firebase/packages/firestore/lib/modular/index.js
Line 196 in 66ef77d
(not bothering with the rest of the details as it should be pretty obvious from the code, but let me know if you'd like it nonetheless. :))
Project Files
Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:e.g. 5.4.3
Firebase
module(s) you're using that has the issue:e.g. Instance ID
TypeScript
?Y/N
&VERSION
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: