-
Notifications
You must be signed in to change notification settings - Fork 4k
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
feat(web): remove the dependency on package:js
in favor of dart:js_interop
#12534
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing js_interop
import on some files, and I guess firebase_core_web isn't migrated to js_interop yet
packages/firebase_database/firebase_database/example/lib/main.dart
Outdated
Show resolved
Hide resolved
firebase_database.main(); | ||
firebase_crashlytics.main(); | ||
firebase_auth.main(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason for the change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have add a race condition with auth for a bit of time now, and I tried this out of curiosity and seems to work better ... Might be just placebo tho 😅
Can we get this merged? |
@kevmoo Merged, will be part of next release that should be out today :) |
…_interop` (firebase#12534) * feat(web): remove the dependency on package:js in favor of dart:js_interop * fix typing * fixing more stuffs * tests? * tests * more * fix typing * fix * fix typing * fixing interop typing * fixing null safety * more fix * database * tests * tests? * fix typing * test order? * storage * tests messaging * fix firestore boxing * test * improve * test * final?? * clean example app
…_interop` (firebase#12534) * feat(web): remove the dependency on package:js in favor of dart:js_interop * fix typing * fixing more stuffs * tests? * tests * more * fix typing * fix * fix typing * fixing interop typing * fixing null safety * more fix * database * tests * tests? * fix typing * test order? * storage * tests messaging * fix firestore boxing * test * improve * test * final?? * clean example app
…_interop` (firebase#12534) * feat(web): remove the dependency on package:js in favor of dart:js_interop * fix typing * fixing more stuffs * tests? * tests * more * fix typing * fix * fix typing * fixing interop typing * fixing null safety * more fix * database * tests * tests? * fix typing * test order? * storage * tests messaging * fix firestore boxing * test * improve * test * final?? * clean example app
…_interop` (firebase#12534) * feat(web): remove the dependency on package:js in favor of dart:js_interop * fix typing * fixing more stuffs * tests? * tests * more * fix typing * fix * fix typing * fixing interop typing * fixing null safety * more fix * database * tests * tests? * fix typing * test order? * storage * tests messaging * fix firestore boxing * test * improve * test * final?? * clean example app
…_interop` (firebase#12534) * feat(web): remove the dependency on package:js in favor of dart:js_interop * fix typing * fixing more stuffs * tests? * tests * more * fix typing * fix * fix typing * fixing interop typing * fixing null safety * more fix * database * tests * tests? * fix typing * test order? * storage * tests messaging * fix firestore boxing * test * improve * test * final?? * clean example app
…_interop` (firebase#12534) * feat(web): remove the dependency on package:js in favor of dart:js_interop * fix typing * fixing more stuffs * tests? * tests * more * fix typing * fix * fix typing * fixing interop typing * fixing null safety * more fix * database * tests * tests? * fix typing * test order? * storage * tests messaging * fix firestore boxing * test * improve * test * final?? * clean example app
Description
Also removing the
web
package when it wasn't usedRemoved tests that were generating mocks since those are not compatible with the new interop and were passthrough tests.
Related Issues
#12466
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
).This will ensure a smooth and quick review process. Updating the
pubspec.yaml
and changelogs is not required.///
).melos run analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?