invertase / flutterfire_cli

A CLI to help with using FlutterFire in your Flutter applications.
Apache License 2.0
170 stars 47 forks source link

[bug]: flutterfire configure does not generate GoogleService-Info.plist #336

Open maRci002 opened 2 weeks ago

maRci002 commented 2 weeks ago

Is there an existing issue for this?

CLI Version

1.0.0

Firebase Tools version

13.15.4

Flutter Doctor Output

[√] Flutter (Channel stable, 3.24.1, on Microsoft Windows [Version 10.0.19045.4780], locale hu-HU) • Flutter version 3.24.1 on channel stable at C:\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5874a72aa4 (7 days ago), 2024-08-20 16:46:00 -0500 • Engine revision c9b9d5780d • Dart version 3.5.1 • DevTools version 2.37.2

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\maRci002\AppData\Local\Android\Sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = C:\Users\maRci002\AppData\Local\Android\Sdk • ANDROID_SDK_ROOT = C:\Users\maRci002\AppData\Local\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314) • All Android licenses accepted.

[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.0) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.7.34003.232 • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)

[√] VS Code (version 1.92.2) • VS Code at C:\Users\maRci002\AppData\Local\Programs\Microsoft VS Code • Flutter extension can be installed from: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.4780] • Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.122 • Edge (web) • edge • web-javascript • Microsoft Edge 128.0.2739.42

[√] Network resources • All expected network resources are available.

• No issues found!

Description

GoogleService-Info.plist file isn't generated

Steps to reproduce

Running this command neither generates the GoogleService-Info.plist file nor throws an error.

flutterfire configure ^
--project xxx-app-a128a128 ^
--out lib/app/firebase_options/prod/firebase_options.dart ^
-i com.example.xxxApp ^
--ios-out ios/firebase_config/prod ^
--platforms ios

Expected behavior

GoogleService-Info.plist file is generated

Screenshots

No response

Additional context and comments

No response

russellwheatley commented 2 weeks ago

@maRci002 - Have you tried the latest dev version?

dart pub global activate flutterfire_cli 1.0.1-dev.4