You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] https://firebase.google.com/docs/firestore/solutions/presence#updating_globally not correct example #1159
Activity
charlesfries commentedon Nov 8, 2024
This is the code that should be displayed there: https://github.com/firebase/functions-samples/blob/main/Node-1st-gen/presence-firestore/functions/index.js
jhuleatt commentedon Oct 7, 2026
Fixed on the site: the "Updating Cloud Firestore globally" example now shows the Cloud Function from
Node-1st-gen/presence-firestore/functions/index.js(theonUpdatetrigger that mirrors the Realtime Database status into Firestore) instead of repeating the client-side query. The page's include pointed at the wrong snippet; the fix is live at https://firebase.google.com/docs/firestore/solutions/presence#updating_globally. Thanks for the report, and sorry it took this long.