-
Notifications
You must be signed in to change notification settings - Fork 144
Update the library to support the newly-introduced 3.x Firebase SDKs #79
Comments
Yes, we need this very badly. |
I've been helping with the Dart Firebase library – but purely as a side project. If a community member wants to take a stab here, I would be happy to support them. |
There is 2 others firebase library with native implementation https://pub.dartlang.org/packages/firebase_rest I don't know if they are compatible with the last version and I never used them, but both library have been update recently. It could be a good thing to unify all those package in only one package. |
Thanks @kevmoo, that was my intention when I opened this issue. I just realized it might have come off as demanding instead, my bad :)
@lejard-h both those libraries seem to be using the old API I've been looking around but I've only been able to find the minified/obscured version of the JS library (https://www.gstatic.com/firebasejs/3.0.4/firebase.js). Does anyone know if Firebase has published the source for it, or if they're willing to? If so, we might be able to use a tool such as this whenever it's available. Or, even better, use the ts2dart transpiler from the Angular team to generate native Dart code. I'm not sure how well it handles Promises or WebSockets but it'd be worth a try. If the only option is to work with the published, minified version of the library then there's going to be a lot of work to do. |
May it be a possibility to use the Firebase REST Interface directly? Someone could create a pure dart implementation with the REST Interface and Server-Sent-Events(SSE) from Firebase. https://firebase.google.com/docs/reference/rest/database/#section-get The only problem is the support for SSE in Internet Explore or Edge. |
AFAIK they only expose the database and authentication APIs over REST, which means we wouldn't be able to access all the new features like storage. It's still an option but let's keep that in mind. |
Yaa, that's right, as far as i've seen. But it could be easier for a community driven library to write a pure dart REST Client instead of a JavaScript wrapper for a minified JS Library. I think, Google should support Dart at least through it's various web libraries, because not doing this blocks the adoption of this beautiful (IMHO) language completely. 👎 :( |
I just spent a bunch of time on https://github.com/Janamou/firebase3-dart I'm going to see if we can just make this the firebase library. Stay tuned... |
FYI @Janamou |
Fixed in 3819fbe |
Is anyone working on it?
Docs: https://firebase.google.com/docs/
The text was updated successfully, but these errors were encountered: