How to Run Project on Desktop? #5523
Unanswered
rayliverified
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, desktop is not supported by FlutterFire. How do you run a project on desktop if it has FlutterFire dependencies?
For web, there is a kIsWeb flag that can be used to switch between code for web. Is there a method for desktop as well?
For example, if a project uses Firebase RTDB on mobile, but on desktop it uses REST, how do you build the project while excluding the FlutterFire dependencies?
Beta Was this translation helpful? Give feedback.
All reactions