User online/offline status

I want to make a onlien offline status for users. I am doing this with a “visit screen action” which updates the “user is online right now” to true. But how can the app recognize if the user left and closed the app, so that the online status can set to false again?

Would appreciate your help here😁
Have a nice evening!

I will have put an invisible timer on each page, for example with a delay of 5 minutes, which opens a pop-up with it even a delay of 30 seconds, which asks the user if he is still online. action after 30 seconds: bolean offline. a button on the popup allows you to close it with a back action.

1 Like

Thanks for your tip. But this timer would start count only if the user is at the page currently, isn’t it?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.