Search code examples
androidchatquickblox

Android QuickBlox updating online status


I'm using user.getLastRequestAt to determine if user online. But this field updates only when user is sending messages or performing login etc.

I also send presence periodically to remain available via startAutoSendPresence() method. But it doesn't update LastRequestAt field.

Is there any way to implement online-status cheking? Thanks!


Solution

  • Actually, field LastRequestAt is updated after any requests to REST API.

    But QuickBlox team released an update for Chat module - so now it also works for Chat presence. Please try.