Skip to content

[bug]: flutterfire configure fails #396

Closed
@kingwill101

Description

@kingwill101

Is there an existing issue for this?

  • I have searched the existing issues.

CLI Version

1.2.0

Firebase Tools version

14.4.0

Flutter Doctor Output

flutter doctor -v                        ✔ 
[✓] Flutter (Channel stable, 3.32.0, on Manjaro Linux 6.12.28-1-MANJARO, locale en_US.UTF-8) [305ms]
    • Flutter version 3.32.0 on channel stable at /home/kingwill101/fvm/versions/3.29.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision be698c48a6 (8 days ago), 2025-05-19 12:59:14 -0700
    • Engine revision 1881800949
    • Dart version 3.8.0
    • DevTools version 2.45.1

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [3.6s]
    • Android SDK at /home/kingwill101/Android/Sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = /opt/android-sdk
    • ANDROID_SDK_ROOT = /opt/android-sdk
    • Java binary at: /home/kingwill101/.local/share/JetBrains/Toolbox/apps/android-studio/jbr/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 21.0.6+-13368085-b895.109)
    • All Android licenses accepted.

[✓] Chrome - develop for the web [185ms]
    • CHROME_EXECUTABLE = /usr/bin/chromium

[✓] Linux toolchain - develop for Linux desktop [610ms]
    • clang version 19.1.7
    • cmake version 4.0.2-dirty
    • ninja version 1.12.1
    • pkg-config version 2.4.3
    • OpenGL core renderer: Mesa Intel(R) UHD Graphics (CML GT2)
    • OpenGL core version: 4.6 (Core Profile) Mesa 25.0.5-arch1.1
    • OpenGL core shading language version: 4.60
    • OpenGL ES renderer: Mesa Intel(R) UHD Graphics (CML GT2)
    • OpenGL ES version: OpenGL ES 3.2 Mesa 25.0.5-arch1.1
    • OpenGL ES shading language version: OpenGL ES GLSL ES 3.20
    • GL_EXT_framebuffer_blit: yes
    • GL_EXT_texture_format_BGRA8888: yes

[✓] Android Studio (version 2024.3.2) [181ms]
    • Android Studio at /home/kingwill101/.local/share/JetBrains/Toolbox/apps/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
    • android-studio-dir = /home/kingwill101/.local/share/JetBrains/Toolbox/apps/android-studio
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13368085-b895.109)

[✓] IntelliJ IDEA Ultimate Edition (version 2025.1) [179ms]
    • IntelliJ at /home/kingwill101/.local/share/JetBrains/Toolbox/apps/intellij-idea-ultimate-2
    • Flutter plugin version 85.3.2
    • Dart plugin version 251.25410.28

[✓] Connected device (2 available) [229ms]
    • Linux (desktop) • linux  • linux-x64      • Manjaro Linux 6.12.28-1-MANJARO
    • Chrome (web)    • chrome • web-javascript • Chromium 136.0.7103.113 Arch Linux

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

• No issues found!

Description

Attempting to configure a project leads to the error type 'Null' is not a subtype of type 'String' in type cast

flutterfire configure --project=.....
i Found 1 Firebase projects. Selecting project ......
✔ Which platforms should your configuration support (use arrow keys & space to select)? · android, ios, macos, web, windows
⠹ Fetching registered android Firebase apps for project ......
type 'Null' is not a subtype of type 'String' in type cast

Steps to reproduce

  1. flutterfire configure ...

Expected behavior

configures the project correctly

Screenshots

No response

Additional context and comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked: customer-responseWaiting for customer response, e.g. more information was requested.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions