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

[firebase_core] Allow one configuration file for all plattforms #2612

Closed
IchordeDionysos opened this issue May 23, 2020 · 1 comment
Closed
Labels
plugin: core type: enhancement New feature or request

Comments

@IchordeDionysos
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In the Roadmap #2582 is the effort described to "Reduce the installation steps".

Adding the config file for every platform is cumbersome, adding just one file for all platforms would be great.

Describe the solution you'd like
I would settle on some kind of format (maybe JSON) and folder name for a Flutter config file.

This config file should be added to the application by the developer and firebase_core would try to read that file first to configure any Firebase app using these methods Android, iOS, web.

Additional context
For the priority, I would first look at the Firebase config file and then try to use the platform-specific config files.

JSON as a format could be helpful as a format as one could for now just copy the web config.

@FirebaseExtended/invertase @Salakar Could be relevant for the core rework invertase/flutterfire#7

@iapicca iapicca added type: enhancement New feature or request plugin: core labels May 25, 2020
@Salakar
Copy link
Member

Salakar commented Jul 3, 2020

@IchordeDionysos appreciate you taking the time to write this out, unfortunately this isn't something we're going to be looking at, at least not as part of #2582 - there's some complications as each platform has their own specific keys and ways of initializing these credentials, plus the way to retrieve each of these credentials from the Firebase Console will still be the same and produce the same output, so there'd have to be something that wraps around these.

Having said that though; we are taking steps to make it easier for you to figure out how to integrate the credentials, e.g. we've got a new docs site in the works with specific platform integration sections: https://firebase.flutter.dev/docs/overview#platform-setup - and we're also taking steps to reduce manual native code changes that are normally required to integrate.

@Salakar Salakar closed this as completed Jul 3, 2020
@firebase firebase locked and limited conversation to collaborators Aug 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
plugin: core type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants