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

request: support multiple ios-build-config values

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

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
dart, firebase, flutter, ios
領域
cli, mobile

調査の方向性

flutterfire configure コマンドから開始し、--ios-build-config がどのように解析され、firebase.json の iOS buildConfigurations エントリがどのように生成されるかを追跡します。カンマ区切りの構成によって同一のエントリが生成されることを確認し、単一の構成に対して文書化されている動作を維持したうえで、結果として得られる firebase.json の構造を検証します。

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

説明

enhancement keep open Needs Attention
Is there an existing feature request for this?
  • I have searched the existing issues.
Command

flutterfire configure

Description

Currently, if you have more than a single build configuration for your iOs project you are required to run the flutterfire configure command multiple times. From the documentation:

You need to run flutterfire configure for every configuration type. E.g. if you have Debug & Release configurations, you need to run flutterfire configure twice with the relevant arguments documented below.

If you are sharing the same configuration for different iOs build configurations. For example if the project has the following build configurations: Debug-dev, Profile-dev and Release-dev. Then, it would be very convenient to simply run once:

flutterfire configure --project my_project --ios-build-config Debug-dev,Profile-dev,Release-dev --ios-bundle-id com.example.project.dev --ios-out ios/Runner/development --platforms ios

Hence, I would expect the above command to create three identical entries in the firebase.json file, equivalent to when its run multiple times with different ios-build-configs:

{
  "flutter": {
    "platforms": {
      "ios": {
        "buildConfigurations": {
          "Debug-dev": {
            "projectId": "my_project",
            "appId": "1",
            "uploadDebugSymbols": false,
            "fileOutput": "ios/Runner/development/GoogleService-Info.plist"
          },
          "Profile-dev": {
            "projectId": "my_project",
            "appId": "1",
            "uploadDebugSymbols": false,
            "fileOutput": "ios/Runner/development/GoogleService-Info.plist"
          },
          "Release-dev": {
            "projectId": "my_project",
            "appId": "1",
            "uploadDebugSymbols": false,
            "fileOutput": "ios/Runner/development/GoogleService-Info.plist"
          },
        }
      }
    }
  }
}

Reasoning

It is easier to run the command once rather than running it multiple times and changing the --ios-build-config each time with the same configuration.

For example, consider projects that have 3 Schemas (production, release, development) each with 3 Build Configurations (Profile, Debug, Release), a user of the FlutterFire CLI would have to run the command 9 times! Each time modifying the --ios-build-config instead of simply running it 3 times (one per schema, each schema having its own Firebase project configuration).

Additional context and comments

No response

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

環境構築

はじめの一歩

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

invertase/flutterfire_cli のほかの issue

invertase/flutterfire_cli の issue をすべて見る

似ている issue

Dart の issue をもっと見る

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

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