[firebase_core] Allow initialization of default Firebase apps from FirebaseOptions
#7232
Unanswered
Pante
asked this question in
Feature request
Replies: 1 comment 2 replies
-
I've also added a similar request quire some time ago: 3926. Unfortunately, no progress there...Probably other topics are more important. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At the moment, initialization of Firebase application instances is (in my opinion) less than ideal.
To initialize the main application, a
google-services.json
&GoogleService.plist
needs to be placed in the respective folders. It cannot be initialized using aFirebaseOptions
. On the other hand, initialization of secondary apps require aFirebaseOptions
, and there is no in-built mechanism to retrieve the values from a configuration file.This creates a dichotomy between the initialization of default and secondary apps, which is frankly, frustrating to work with. Developers are forced to manage the creation of default and secondary apps differently.
I believe the following will alleviate the issue greatly:
FirebaseOptions
Beta Was this translation helpful? Give feedback.
All reactions