Go to console

An options object that can be passed to DocumentReference.onSnapshot(), Query.onSnapshot() and QuerySnapshot.docChanges() to control which types of changes to include in the result set.



Optional includeMetadataChanges

includeMetadataChanges: boolean

Include a change even if only the metadata of the query or of a document changed. Default is false.