detect online and Offline Status of user and notify other users whenever status of user changes.
I am developing Chat Application for Android. i couldn't understand how to implement this feature.
i will be really thankful for any kind of favor. I am using LiveQuery for push notifications.
This is not an issue of parse-server, but I have implemented the same idea in my case.
Add a column in _User class of type boolean called "isOnline".
Users set them selve online/offline and LiveQuery detects changes.
Additional you can add a column "lastSeen" of type date in _User class, to
check the last activity. If users offline than show the "lastSeen" value.
Hope that helps.
Please ask questions of this type in Stack Overflow. We try to use GitHub issues to track bugs.
Most helpful comment
Please ask questions of this type in Stack Overflow. We try to use GitHub issues to track bugs.