Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Will this lib implement module bundlers per the new Firebase APIs for web and will it even help? #406

Open
atebitftw opened this issue Oct 6, 2021 · 1 comment

Comments

@atebitftw
Copy link

atebitftw commented Oct 6, 2021

See step 4: https://firebase.google.com/docs/web/setup

I ask because this might help with the problem I describe below (maybe not) for Flutter web apps.

The dart API wrappers in this lib are so helpful (thank you!), but it becomes a bit tricky to know which firebase APIs are supported in the current version of this lib. For example. When does which version of this lib supports which firebase features/js version? I got caught up in this today when I tried to use the "!=" operator in a query filter, which is now supported by firebase, but the dart lib and with the underlying js libs at version 8.10.0 do not appear to support it. If I try to fast-forward the js lib versions to the most recent (9.0.1) then more of the API breaks, including initialization.

I know it's tricky to keep all these things in sync. Just wanted to put out some experience with it on my end.

@kevmoo
Copy link
Contributor

kevmoo commented Oct 6, 2021

@prujohn – ha! That's...tricky.

We'd have to go pretty deep in w/ the JS compiler to support this.

In theory possible, but it would have to start w/ JS compilers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants