I’m trying to user user event handler as mentioned here in my Android app. The issue here’s is that the callback onTotalUnreadMessageCountChanged is not being invoked. I tried multiple scenarios like connected and disconnected states. I’m making use of SDK v3.0.139. Is there anything I’m missing here?
Thanks in advance.
@Asem I think found your app. The unread count push feature is turned off. This is because your app was created prior to the onTotalUnreadMessageCountChanged being on be default. This is not a premium feature, there is no extra charge.
Because of Sendbird security please can you direct message me your app_id requesting for the the onTotalUnreadMessageCountChanged to be turned on. Alternatively you can file a ticket through your dashboard.
@Jason@walter.rodriguez thanks for the update. The callback has started to work now. Now, what my app’s requirement is to know the unread messages count against the conversation(s). Since, there’s not much information on onTotalUnreadMessageCountChanged in the docs, I’m assuming that Map<String, Integer> totalCountByCustomType is what I’m looking for. The problem, I’m facing here, is that this map is always empty in my testing. Can you please provide more information on it.
returns empty dictionary for the argument totalCountByCustomType.
Does it mean that we still can’t use this parameter for the applications?
So, should I call function getTotalUnreadMessageCountWithParams multiple times with different channelCustomTypesFilter to get what I need?