You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app won't work when building for Windows, it works fine for Android and the Web
Steps to reproduce
Create a new Flutter app
Add Firebase to the app following the Firebase guid for Flutter ( Choose Android, Web and Windows )
Initialize Firebase on the app entry point before calling runApp
Now build for Web and Android to test if it is working
If step 4 is working fine build for Windows, you will get the problem on your console and the app will be just a white screen
Expected behavior
Well the app should just build haha
Sample project
I think its faster to just use the VS Code extension to create a new project
Additional context
I have used VS Code to create the Flutter project
I have used the fluterfire cli to add firebase to the app
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.22621.1], locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.0)
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.67.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!
Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Hi! Windows isn't supported here, you need to add firebase_core_desktop first to get it supported. Please check this blog for more details on how to add it.
Officially no, but Invertase is sponsoring the FlutterFire Desktop project which add Windows and Linux support using the same platform interface of FlutterFire, this is the Roadmap, check this discussion.
Bug report
Description
The app won't work when building for Windows, it works fine for Android and the Web
Steps to reproduce
Expected behavior
Well the app should just build haha
Sample project
I think its faster to just use the VS Code extension to create a new project
Additional context
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: