flutterfire
flutterfire copied to clipboard
[FIRESTORE]: includeMetadataChanges does not make the stream emit second non cache event
Is there an existing issue for this?
- [X] 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, 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.
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!
Since there haven't been any recent updates here, I am going to close this issue.
@jtdLab if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.