Desktop (Windows, Linux, MacOs) support for Flutter apps that use Firebase in production apps
Flutter developers should be able to run their apps on desktop platforms, including Windows and Linux, when using Firebase services. For example, Flutter developers should be able to 1) apply Analytics to data from desktop platforms, 2)
use Remote Config to customize their apps for desktop users, 3) use other Firebase services that are relevant to desktop apps, etc.
This would make it easier for Flutter developers to build and deploy production-ready apps for desktop platforms.
-
Hyunwoo Kim commented
firebase feature request link is below as well.
https://firebase.google.com/support/troubleshooter/report/features
-
St MerlHin commented
This is critical as far as I am building flutter app which must be available on desktop.
-
Muhammad Kamran Nazir Muhammad Nazir commented
criticial
-
Kamran Dev NestedPie commented
This will help us a lot of developers
-
Stanley Illidge commented
As many of us in the developer community are aware, Flutter has revolutionized the way we build applications by providing a seamless, efficient platform for crafting high-quality native interfaces on iOS and Android. This efficient, versatile framework, however, has yet to fully expand its potential into the realm of desktop operating systems - namely Windows, Linux, and MacOS.
This lack of comprehensive support becomes even more glaring when we consider the broad adoption of Firebase for back-end services in production apps. Firebase offers a plethora of invaluable services, such as real-time databases, authentication, and analytics, which are essential for building modern, scalable applications.
However, the limited desktop support for Flutter apps using Firebase in production applications has been a longstanding barrier to fully leveraging these services. As we continue to see an increasing number of businesses and individuals relying on desktop applications, it's becoming increasingly vital that Firebase support is expanded to cater to these platforms.
By not extending this support, we're missing out on opportunities for enhanced productivity and scalability, not to mention limiting our reach to potential users. The urgency to rectify this situation cannot be overstated - we're in the age of cross-platform applications, and it's time we fully embrace this in every sense.
To developers and organizations alike, I implore you to take this into consideration and work towards implementing this highly important and beneficial feature. It's not just about enhancing our development process, but also about catering to our users in the most efficient and effective manner possible.
Thank you for taking the time to read my post, and I look forward to hearing your thoughts and ideas on this matter.
-
Stanley Illidge commented
Nesitamos poder migrar nuestras apps a entornos como Windows, Linux, MacOs con las mismas garantias que tenemos en nuestras apps para android, ios y web, de otra manera pierde mucho futuro esta integración
-
Mark Breuß commented
Very important for us as well!
We are a long time Firebsase Customer and this is holding our Flutter efforts back for certain Products. -
Amir Hosseinzadeh commented
As a Linux Ubuntu user with Gnome version 3.36.8 and a Flutter project that utilizes Firebase, I encountered two errors when running the command "flutter run -d Linux" to launch my project in debug mode.
The error message suggests that while launching a Flutter project in debug mode on Linux, there are two issues encountered.
Firstly, there is an error related to reading XDG desktop portal settings, with the message "Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found." This error may indicate that the system is unable to find a specific setting related to the desktop portal.
Secondly, there is an error related to Firebase configuration, with the message "Unhandled Exception: Unsupported operation: DefaultFirebaseOptions have not been configured for Linux - you can reconfigure this by running the FlutterFire CLI again." This error suggests that Firebase options have not been properly configured for the Linux operating system. The error message suggests reconfiguring the FlutterFire CLI to resolve this issue.
The error stack trace shows that the error is occurring in the FirebaseOptions and FirebaseInitializer files within the Flutter project, specifically in the currentPlatform and initializeApp functions.
** (my_project_mobile:70490): CRITICAL **: 18:24:55.290: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
** (my_project_mobile:70490): CRITICAL **: 18:24:55.295: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Unsupported operation: DefaultFirebaseOptions have not been configured for linux - you can reconfigure this by running the FlutterFire CLI again.
#0 DefaultFirebaseOptions.currentPlatform (package:my_project_mobile/app/services/firebase/firebase_options.dart:35:9)
#1 FirebaseInitializer.initializeApp (package:my_project_mobile/app/services/firebase/amirhome_firebase.dart:12:39)
#2 main (package:my_project_mobile/main.dart:12:29)
#3 _runMain.<anonymous closure> (dart:ui/hooks.dart:131:23)
#4 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
#5 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26) -
Bhante Subhuti commented
Need same code base for both mobile and desktops. Similar to sqlflite libs.
-
Justus Mulli commented
Arguably Flutter's USP is that it works on all platforms, and this is the biggest limitation IMO. Now having to figure out how to deploy to windows without flutterfire
-
Luis Antonio commented
Translation provided by Google Translate: I really liked this initiative because I've been trying to integrate Firebase Cloud and storage into my Linux app for several days and nothing works right and the web alternatives weigh a lot on my PC leaving it performing very poorly. Desktop works pretty fluid. Congratulations for the initiative!!!
(Edited by admin) -
Hyunwoo Kim commented
It's quite critical cuz If I choose to target desktop as well with flutter...
I have to move away from firebase...
-
Manuel Babuglia commented
We need firestore and auth!
-
Dennis Kugelmann commented
You are lucky Firebase Auth is one of the only packages that supports Windows and Linux:
https://invertase.io/blog/announcing-flutterfire-desktop-auth-stable -
Luiz Júnior commented
I mostly use firebase_auth. I am in dire need of support for linux and windows.
-
Thanks for opening idea. My only concern is that this idea is too ambiguous. Perhaps it should be more specific to be actionable. For example, Windows and Linux support for production apps. Also, what framework? Unity, C++, C#, etc.
-
Simon Bengtsson commented
To support same platforms as flutter.