firebase-kotlin-sdk
firebase-kotlin-sdk copied to clipboard
Firestore: support for specifying databaseId
trafficstars
This commit adds support for specifying the databaseId when creating a FirebaseFirestore instance.
This allows users to connect to a specific database within their Firebase project.
The firestore function now accepts an optional databaseId parameter. If not provided, it defaults to the default database for the project.
Additionally, the NativeFirebaseFirestoreWrapper now stores the databaseId and uses it when initializing the Firestore instance.