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

request: Configurable firebase.json output directory ("--firebase-out=<PATH>") #277

Open
1 task done
kNoAPP opened this issue Apr 11, 2024 · 3 comments
Open
1 task done
Labels
enhancement New feature or request keep open Needs Attention OP created or responded to issue and it needs attention.

Comments

@kNoAPP
Copy link

kNoAPP commented Apr 11, 2024

Is there an existing feature request for this?

  • I have searched the existing issues.

Command

flutterfire configure --yes --project=<FIREBASE_PROJECT_ID> --firebase-out=<PATH>

Description

As a developer, I want to be able to dictate where the firebase.json generated file is written to.

Reasoning

This feature is useful for compatibility with projects with abnormal file structures, multi-environments, or special CI/CD instructions.

Additional context and comments

The other generated outputs have path-supported flags:

flutterfire configure \ 
--yes \
--project=your-project-id \
--platforms=ios,macos,android,web \
**--android-out=android/app/src/release/google-services.json \**
--android-package-name=com.example.myapp.release \
--ios-build-config=Release \
**--ios-out=/ios/release/GoogleService-Info.plist \**
--ios-bundle-id=com.example.myApp.ios.release \
--macos-build-config=Release \
**--macos-out=/macos/release/GoogleService-Info.plist \**
--macos-bundle-id=com.example.myApp.macos.release \
--web-app-id=<1:XXX:web:XXX> \
**--out=lib/release/firebase_options.dart**

Supporting the firebase.json location would further future-proof the CLI.

@kNoAPP kNoAPP added the triage label Apr 11, 2024
@russellwheatley russellwheatley added enhancement New feature or request and removed triage labels Apr 12, 2024
Copy link

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

@github-actions github-actions bot added the Stale label Sep 30, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
@akurnaz
Copy link

akurnaz commented Dec 10, 2024

@kNoAPP Could you find any solution?

@github-actions github-actions bot added the Needs Attention OP created or responded to issue and it needs attention. label Dec 10, 2024
@kNoAPP
Copy link
Author

kNoAPP commented Dec 10, 2024

@kNoAPP Could you find any solution?

Denial, pain, bargaining, reflection, reconstruction, acceptance.

In all seriousness, I do hope the flutterfire team reconsiders this feature because it would be nice to have. I've had to write some custom scripts to work around it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request keep open Needs Attention OP created or responded to issue and it needs attention.
Projects
None yet
Development

No branches or pull requests

3 participants