Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(firestore): support non-default databases #661

Open
3 of 13 tasks
sam-ami opened this issue Jul 1, 2024 · 0 comments
Open
3 of 13 tasks

feat(firestore): support non-default databases #661

sam-ami opened this issue Jul 1, 2024 · 0 comments

Comments

@sam-ami
Copy link

sam-ami commented Jul 1, 2024

Plugin(s)

  • Analytics
  • App
  • App Check
  • Authentication
  • Crashlytics
  • Cloud Firestore
  • Cloud Functions
  • Cloud Messaging
  • Cloud Storage
  • Performance
  • Remote Config

Current problem

The current implementation of the package only supports the default Firestore instance. This limitation means users cannot specify or interact with different Firestore databases by their database ID. As a result, applications requiring access to multiple Firestore databases or specific non-default instances are restricted, reducing flexibility and scalability. This feature aims to address this issue by allowing support for Firestore by database ID, enabling users to target and manage specific Firestore databases more effectively.

Preferred solution

To address the current limitation, the package should be enhanced to include support for Firestore by database ID. This involves updating the configuration options to accept a database ID parameter, allowing users to specify which Firestore instance they want to connect to. The implementation should ensure seamless integration with the existing functionality, maintaining backward compatibility for those who continue to use the default Firestore instance. Additionally, thorough documentation and examples should be provided to guide users on how to configure and use the new feature, ensuring a smooth transition and adoption process. This solution will increase the package's flexibility, enabling it to cater to a wider range of use cases and scenarios.

Alternative options

No response

Additional context

No response

Before submitting

@robingenz robingenz changed the title feat: Add Support for Firestore by Database ID feat(firestore): support non-default databases Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants