zendesk/react-native-sunshine-conversations

Method to get unread count?

Closed this issue · 2 comments

Would it be possible to add a method that allows us to retrieve the unread messages count, so that we can reflect this in our UI?

The native libraries do indeed expose this information via SKTConversation.unreadCount on iOS and Conversation.getUnreadCount() on Android, but these methods are not exposed through the Javascript wrapper

I've filed an improvement request in our backlog to add outlets to the Javascript wrapper for these. PRs are also welcome :)

PR here: #35