Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[bug]: --overwrite-firebase-options flag not working

オープン
#311 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

@krushnXenlabs がすでに取り組んでいます。

2026年9月28日 から。

  • #465 @krushnXenlabs による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
dart, flutter
領域
cli

調査の方向性

まず、既存の出力ファイルを指定して報告された flutterfire configure コマンドを再現し、次に --overwrite-firebase-options フラグがどのように解析され、使用されているかを追跡します。フラグが存在する場合に、コマンドが確認を求めずに指定されたファイルを上書きすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

blocked: customer-response bug keep open Needs Attention
Is there an existing issue for this?
  • I have searched the existing issues.
CLI Version

1.0.0

Firebase Tools version

13.10.2

Flutter Doctor Output

[✓] Flutter (Channel stable, 3.22.1, on macOS 14.5 23F79 darwin-arm64, locale
en-HU)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.3)
[✓] VS Code (version 1.90.0)
[✓] Connected device (6 available)
! Error: Browsing on the local area network for -- iPhone. Ensure the device is unlocked and attached with a cable or
associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

• No issues found!

Description

--overwrite-firebase-options Seems to not have any effect. After setting this option still asks: do you want to override it?

Example output

mateboros@Mates-MacBook-Pro my_catalog_app % flutterfire configure  --out="lib/firebase_options_dev.dart" --platforms="ios" --ios-bundle-id="com.example.myCatalogApp.dev" --ios-out="ios/dev"  --overwrite-firebase-options
✔ You have to choose a configuration type. Either build configuration (most likely choice) or a target set up. · Build configuration      
✔ Please choose one of the following build configurations · Debug-dev                                                                     
? Generated FirebaseOptions file /Users/mateboros/Documents/Github/my_catalog_app/lib/firebase_options_dev.dart already exists, do you want to override it? (y/n) › yes
Steps to reproduce

SAMPLE: https://github.com/qwadrox/my_catalog_app

  1. Run: flutterfire configure --out="lib/firebase_options_dev.dart" --platforms="ios" --ios-bundle-id="com.example.myCatalogApp.dev" --ios-out="ios/dev" --overwrite-firebase-options
Expected behavior

Should not ask to override the file. It should just override.

Screenshots

No response

Additional context and comments

No response

主要言語
Dart
スター
195
フォーク
77
平均マージ
1日 8時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

invertase/flutterfire_cli のほかの issue

invertase/flutterfire_cli の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。