useFirestore
should allow to select a non (default)
database
#1558
Labels
useFirestore
should allow to select a non (default)
database
#1558
What problem is this solving
As far as I can tell, there's no way to select a different Firestore database aside from the
(default)
one. Firestore multi database support is GA since February.The
getFirestore
SDK allows to select the database based on the ID: https://firebase.google.com/docs/reference/js/firestore_.md#getfirestore_48de6cbProposed solution
The composable should take the Database ID as a param.
Note: the composable currently already takes a
name
as param, for the name of the Firebase App, which is confusing IMO.Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered: