-
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(firebase_database)!: add web support to the plugin #6952
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.
@Salakar @lesnitsky @russellwheatley
Following things are pending:
- Unit Test cases for
firebase_database_web
. - Following Integeration tests are failing:
runTransaction
. The reason is in the below comments.DataSnapshot supports null childKeys for maps
. (This test also uses runTransaction so thats why it is failing.)correct order returned from query
. I think the Firebase-Dart library is not returning the database query results in correct order. Need to check.
packages/firebase_database/firebase_database_web/lib/src/database_reference_web.dart
Outdated
Show resolved
Hide resolved
packages/firebase_database/firebase_database_web/lib/src/database_reference_web.dart
Show resolved
Hide resolved
packages/firebase_database/firebase_database_web/test/firebase_database_web_test.dart
Outdated
Show resolved
Hide resolved
|
packages/firebase_database/firebase_database_web/lib/firebase_database_web.dart
Outdated
Show resolved
Hide resolved
packages/firebase_database/firebase_database_web/lib/firebase_database_web.dart
Outdated
Show resolved
Hide resolved
packages/firebase_database/firebase_database_web/lib/firebase_database_web.dart
Outdated
Show resolved
Hide resolved
@googlebot I consent |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
1 similar comment
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
@lesnitsky I think you may need to give bot consent too |
@googlebot I consent |
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.
is it not required?
packages/firebase_database/firebase_database_web/test/firebase_database_web_test.dart
Outdated
Show resolved
Hide resolved
I think only the below is pending: |
tests pass (locally, at least 😅) |
Description
This PR adds web support to the plugin
firebase_database
.Related Issues
Fixes flutter/flutter#48542
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?