Issue
What do we mean by secondary Firebase App? for instance, it is mentioned here in this documentation - https://firebase.flutter.dev/docs/auth/usage
Solution
Use multiple projects in your application
Sometimes you need to access different projects using the same APIs - for example, accessing multiple database instances. In most cases there is a central Firebase application object that manages the configuration for all the Firebase APIs. This object is initialized as part of your normal setup. However, when you want to access multiple projects from a single application, you’ll need a distinct Firebase application object to reference each one individually. It’s up to you to initialize these other instances.
In both cases, you need to first create a Firebase options object to hold the configuration data for the Firebase application
you can read more here
Answered By - griffins
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.