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

[FIRESTORE]: includeMetadataChanges does not make the stream emit second non cache event #12781

Open
1 task done
jtdLab opened this issue May 14, 2024 · 2 comments
Open
1 task done
Assignees
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. plugin: cloud_firestore Stale Issue with no recent activity type: bug Something isn't working

Comments

@jtdLab
Copy link

jtdLab commented May 14, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Database

Which platforms are affected?

No response

Description

When listening for data like this (with internet connection):

doc.snapshots(includeMetadataChanges: true)

There is only a snapshot with metadata.isFromCache = true fired but no second
with metadata.isFromCache = false as stated in https://firebase.google.com/docs/reference/js/v8/firebase.firestore.SnapshotMetadata

Reproducing the issue

Listen to a document as described.

Firebase Core version

2.31.0

Flutter Version

3.22.0

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

@jtdLab jtdLab added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels May 14, 2024
@TarekkMA
Copy link
Contributor

@jtdLab, thank you for reporting this issue. Could you please provide additional details about which platform you have tested on and where you found this bug? This information will help us better understand and address the issue.

@TarekkMA TarekkMA added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels May 15, 2024
@TarekkMA TarekkMA self-assigned this May 15, 2024
@google-oss-bot google-oss-bot added the Stale Issue with no recent activity label May 24, 2024
@google-oss-bot
Copy link

Hey @jtdLab. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. plugin: cloud_firestore Stale Issue with no recent activity type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants