firebase-kotlin-sdk icon indicating copy to clipboard operation
firebase-kotlin-sdk copied to clipboard

Firestore: support for specifying databaseId

Open lynnfield opened this issue 9 months ago • 1 comments
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.

lynnfield avatar Jan 24 '25 14:01 lynnfield