Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[bug]: plugin selection on terminal during choices prompt

未关闭
#467 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
dart, flutter
领域
cli

调研方向

Start by reproducing flutterfire install 4.10.0 and inspect the terminal choices prompt and plugin-selection entry point. Compare the selected plugins with the final installation results, then verify that the requested plugins are installed; the workaround using --version and --plugins provides a comparison path.

由索引模型根据 Issue 内容生成。

描述

bug Needs Attention triage
Is there an existing issue for this?
  • I have searched the existing issues.
CLI Version

1.4.1

Firebase Tools version

15.30.0

Flutter Doctor Output

[✓] Flutter (Channel stable, 3.47.4, on macOS 27.0.1 26A434 darwin-arm64, locale es-MX) [747ms]
• Flutter version 3.47.4 on channel stable at /opt/homebrew/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9584c6713b (3 weeks ago), 2026-09-10 15:25:10 -0700
• Engine revision 06a2e2a110
• Dart version 3.13.3
• DevTools version 2.60.0
• Feature flags: enable-web, no-enable-linux-desktop, no-enable-macos-desktop, no-enable-windows-desktop,
enable-android, enable-ios, cli-animations, enable-native-assets, enable-record-use, enable-swift-package-manager,
omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration, enable-macos-arm64-only

[✓] Android toolchain - develop for Android devices (Android SDK version 37.0.0) [508ms]
• Android SDK at /Users/neartox/Library/Android/sdk
• Emulator version 37.2.11.0 (build_id 16416033) (CL:N/A)
• Platform android-37.1, build-tools 37.0.0
• ANDROID_HOME = /Users/neartox/Library/Android/sdk
• Java binary at: /Applications/Android Studio Rabbit 2 2026.2.2 Canary 2.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
• Java version OpenJDK Runtime Environment (build 25.0.4+-16339643-b508.27)
• All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 27.0) [375ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 27A266a
! CocoaPods not installed.
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/to/platform-plugins
For installation instructions, see https://guides.cocoapods.org/using/getting-started.html#installation

[✓] Chrome - develop for the web [4ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Connected device (4 available) [5.9s]
• Ernesto’s iPhone (wireless) (mobile) • 00008150-001968182E02401C • ios • iOS 27.2 24B5089g
• Ernesto’s iPhone (wireless) (mobile) • 00008130-001410AC3A04001C • ios • iOS 27.0.1 24A446
• iPhone 18 Pro (mobile) • 9D158517-C0FA-4690-8656-EF27291AB894 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-27-0 (simulator)
• Chrome (web) • chrome • web-javascript • Google Chrome
154.0.8037.59

[✓] Network resources [259ms]
• All expected network resources are available.

! Doctor found issues in 1 category.

Description

The CLI install the wrong plugins when installing via flutterfire install 4.10.0

Steps to reproduce
  1. Run the command flutterfire install 4.10.0
  2. Select the plugins: firebase_core, firebase_analytics, firebase_messaging, firebase_performance, firebase_remote_config, firebase_crashlytics.
  3. The final installation results on the following plugins: firebase_in_app_messaging, firebase_ml_model_downloader instead of firebase_messaging, firebase_remote_config
Expected behavior

When running flutterfire install 4.10.0, the CLI should respect the user selection

Screenshots

No response

Additional context and comments

The PR for is fix was #429 but since I had no response. I prefer to put here for someone
the workaround was use flutterfire install --version= --plugins=<plugins_list>

主要语言
Dart
星标
194
派生
76
平均合并
2 天 9 小时
30 天内合并 PR
7

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

invertase/flutterfire_cli 的其他 Issue

查看 invertase/flutterfire_cli 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。