Show Replies List

Show the replies/conversations list and check if user has chats in KMP.

Show conversations screen

Call RepliesKmp.show() to open the in-app conversations screen (e.g. from a “Support” or “Messages” button):

Kotlin
RepliesKmp.show()

If the user has no conversations, behavior may depend on the native SDK (e.g. nothing happens or an empty state is shown).

Check if user has chats

Before showing a “Messages” entry or badge, you can check whether the user has any conversations:

Kotlin
scope.launch {
    if (RepliesKmp.hasChats()) {
        showRepliesMenuItem()
    }
}

Combine with RepliesKmp.onNewReply and RepliesKmp.getUnreadRepliesCount() to keep a badge or menu visibility in sync.

Last updated