Expose "last updated" metadata
If Firebase cannot support some kind of changestream implementation, it should include metadata on each document that includes a "last updated" timestamp. Then clients can query against this field to only retrieve "new" changes (Inserts, Updates). It lacks support for delete capture but is the next best thing after a changestream.
-
Thor Galle commented
Note that `updateTime`, `createTime` and `readTime` are already exposed on Firebase Admin Firestore API requests, see for example this issue https://github.com/firebase/firebase-android-sdk/issues/3107#issue-1045346333
They are however not exposed on non-admin DocumentSnapshots or anywhere else, and they are not queryable (which you seem to ask for, and which I would like too).