Mismatch in unread message count and online status

Hi,

We are integrating CometChat pro with our application. We are using the demo app of cometchat for reference and general use.
We noticed the online status of the users in the demo app is not correct. Also, messages read using the demo app are not updated as read. We get the unread count in fetchConversation method.
Is this the issue of demo app or sdk has some issues?

1 Like

Hi @ankitjd , we provide unreadMessageCount field in conversations to get unread message count for the particular conversation. You can visit following link to know more.
https://prodocs.cometchat.com/docs/android-quick-start

Can you share the link of sample app you are referring.?

1 Like


This is sample app, we are referring to.

1 Like

Hi,

Any update on this?

Hi @ankitjd,

The issue has been resolved. We have updated our sample app with the latest SDK. You can refer https://github.com/cometchat-pro-samples/android-java-chat-app

1 Like

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