Parse-server: detect online and Offline Status of user and notifiy other users in Chat Application

Created on 22 May 2017  路  2Comments  路  Source: parse-community/parse-server

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.

Most helpful comment

Please ask questions of this type in Stack Overflow. We try to use GitHub issues to track bugs.

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carjo422 picture carjo422  路  3Comments

jiawenzhang picture jiawenzhang  路  4Comments

ShawnBaek picture ShawnBaek  路  4Comments

ViolentCrumble picture ViolentCrumble  路  3Comments

mohmagdy picture mohmagdy  路  3Comments