#how to implement user status online/offline & last online time.

11 messages · Page 1 of 1 (latest)

indigo moon
#

I'm working my Flutter project in which i need to show user status, if user is online then it should show it to other user, and if it's offline then offline like any other chat apps as well as last online time.

indigo moon
tardy sonnet
indigo moon
#

like in firebase we do the same listen to event when it disconnects we make the user's status offline. and if user have unstable network then firebase wait for 60 seconds for user to connect back before making user offline.

#

so how realtime connection will handle the unstable connection?

tardy sonnet
indigo moon
#

oh, I see, okay. so there is a chance of inaccuracy without some kind of real-time connection.

indigo moon
tardy sonnet
indigo moon