I cannot compile my flutter app since it is not configured for windows, or rather it is not configured Firebase for windows, so the app starts but fails. And I don't understand why when I run flutterfire configure
it shows what follows.
CodePudding user response:
firebaser here
The FlutterFire libraries work by wrapping the native SDKs for Firebase's primary supported platforms: iOS (now also macOS), Android and Web. While Flutter allows you to build Windows and Linux desktop apps, Firebase does not have SDKs for those platforms. Even on its products where Firebase offers some limited support (through its C /Unity SDKs), the FlutterFire libraries don't wrap those SDKs at the moment.
If you want to use Firebase in your Flutter app for Windows and/or Linux, you'll have to either wrap the REST APIs of the Firebase products you want to use yourself, or use a library that wraps the REST API already. An example of this is the firedart
library that provides basic support for Authentication and Firestore, but there are probably others.