Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutterfire web support (Unify Flutterfire and firebase-dart API) #40

Closed
collinjackson opened this issue Aug 26, 2019 · 10 comments
Closed
Labels
type: enhancement New feature or request

Comments

@collinjackson
Copy link
Contributor

collinjackson commented Aug 26, 2019

Right now the Flutterfire and firebase-dart packages have a similar but not quite identical Dart API for Firebase. Unifying these implementations around a common API package could enable re-use of code across web and mobile.

@collinjackson collinjackson changed the title Web support Unify Flutterfire and firebase-dart API Aug 26, 2019
@chimon2000
Copy link

A couple of other packages that are worth mentioning for inspiration:

https://github.com/appsup-dart/firebase_dart
https://github.com/apptreesoftware/crossfire

@slightfoot
Copy link
Contributor

And of course.

https://github.com/fluttercommunity/firebase_flutter_sdk

@apps-transround
Copy link

Regarding unifying: it would be also great to officially support Dart in Firebase Cloud Functions similarly to: firebase_functions_interop

@samtstern
Copy link
Contributor

cc @kroikie @puf

@kroikie
Copy link
Collaborator

kroikie commented Sep 4, 2019

Since the native SDKs have the support of documentation should we have both firebase-dart and FlutterFire stay as close to the native SDK APIs as possible?

@no-1ne
Copy link

no-1ne commented Sep 20, 2019

Flutter web + this = <3

It would be a true enabler for developers and a super powerful Cross platform full stack development tool

@Kleak
Copy link
Contributor

Kleak commented Sep 27, 2019

With Flutter desktop it could be really mind blowing to have the same code for mobile, desktop and web.
https://github.com/fluttercommunity/firebase_flutter_sdk seems promising but i hope one day the Firebase team will integrate it here to show good support.

@alarmatwork
Copy link

I will copy here current output what happens if you are trying to use these plugins with web (just for others to find this ticket more easily).

I assume this issue is addressing web as well.

Flutter 1.10.11-pre.7 • channel master • https://github.com/flutter/flutter.git

$ flutter run -d chrome
Downloading Web SDK...                                              1.4s
Running "flutter pub get" in demoapp…                              0.5s
 
Launching lib/main.dart on Chrome in debug mode...
Throwing away cached asset graph due to Dart SDK update.                
Skipping compiling demoapp|lib/main_web_entrypoint.dart with ddc because some of its
transitive libraries have sdk dependencies that not supported on this platform:

firebase_core|lib/firebase_core.dart

https://github.com/dart-lang/build/blob/master/docs/faq.md#how-can-i-resolve-skipped-compiling-warnings


@RicCu
Copy link

RicCu commented Oct 4, 2019

Hi,
Is there anything in particular I could contribute help move this along? And/or any pointers on where to start looking?

@iapicca iapicca added the type: enhancement New feature or request label Oct 21, 2019
@collinjackson collinjackson changed the title Unify Flutterfire and firebase-dart API Flutterfire web support (Unify Flutterfire and firebase-dart API) Nov 22, 2019
@collinjackson
Copy link
Contributor Author

Marking this as resolved since we now have four web-enabled FlutterFire packages. Please follow the FlutterFire README and Flutter Web Plugins board for the latest status on web support.

Huge thanks to @amrfarid140 @ditman @hterkelsen for making this possible.

@firebase firebase locked and limited conversation to collaborators Aug 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests