How to implement real-time user presence with Firebase's .info/connected? #293
Closed
avinashboy
started this conversation in
General
Replies: 1 comment 1 reply
-
Such topic should be asking in the community forum. The Firebase Realtime Database and Firestore Database REST APIs do not support this. You can set the device timestamp in the database periodically and use some backend cloud functions for polling check the timeout of device timestamp. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody, I just want to know if the Firebase client package includes the built-in online/offline feature. Specifically, can we use it with an ESP32 and this package to:
Monitor the device's online/offline status (e.g., 'Device is online' → 'Device goes offline').
Maintain connectivity to a specified path (
.info/connected
) when transitioning between online and offline states, utilizing the feature Firebase provides.Beta Was this translation helpful? Give feedback.
All reactions