Having pure Dart SDKs for Firebase
Note: If your top priority is to use Flutter with Firebase on Windows/Linux, this may not be the best option.
Currently, the Flutter SDKs (also known as FlutterFire) are wrappers around other existing SDKs, such as the iOS, Android, and web SDKs. This allows Flutter apps to target these platforms when using Firebase. However, if a Flutter app needs to target other platforms, it is not possible. A pure Dart SDK would allow developers to target all the devices that Flutter supports, but they would need to manually customize the integration with Google Analytics in Firebase. This manual integration could be a worthy investment, however.
-
Warren Strange commented
Not sure how to interpret Miguel's comment w.r.t. Flutter on Windows/Linux
A pure Dart implementation would seem to cover all platforms that Dart supports (mobile, web, desktop, etc.)
Long term, it seems like it would be far more robust than the current strategy of wrappers around other SDKs.
-
Cedvdb commented
Imo a better alternative would be to wrap the c++ sdk (and therefor making the c++ sdk solid) and have each platform use that.
-
Adding a NOTE: If your top priority is to use Flutter with Firebase on Windows/Linux, this may not be the best idea to vote for. There are other ideas that cover this scenario. If you still think that this is the right one, we would love to hear your reasons and scenarios.