flutterfire_cli icon indicating copy to clipboard operation
flutterfire_cli copied to clipboard

request: Command to fetch app config files (json or dart) without changing existing Firebase

Open erf opened this issue 3 years ago • 0 comments

Is there an existing feature request for this?

  • [X] I have searched the existing issues.

Command

flutterfire fetch

Description

I would like to see a read-only fetch command which just fetches existing app configuration in either dart or json format without changing the existing Firebase project.

Reasoning

We would like to avoid adding the API Keys to a git repo, so we would like to fetch the API keys after fetching the source code and before building.

I appreciate the way we can generate Dart files now with flutterfire configure, but this does optionally change the Firebase project by adding a new app and also involves more user interaction.

I think a more light weight read-only call would be better for fetching API keys from existing apps, without making changes.

I appreciate the generated dart classes but i would like to see an option to fetch the Google-services.json files for handling this the old way. I'm not aware the Firebase CLI tool (or another way) has an option to do this.

Additional context and comments

No response

erf avatar May 12 '22 14:05 erf