Setup In-App Replies
Last updated
In-App Replies (chat) lets users have conversations with your team. You can show the conversations screen, check for existing chats, get unread count, and manage notifications.
Show Replies List – RepliesKmp.show() and hasChats()
Managing Notifications – In-app notifications, sound, push (Android)
In-App Replies Callbacks – onNewReply
Disabling/Enabling In-App Replies – Turn replies on or off
RepliesKmp.show()Shows the conversations screen. If the user has no chats, it may have no effect depending on the native SDK.
scope.launch {
val hasChats = RepliesKmp.hasChats()
if (hasChats) showRepliesButton()
}scope.launch {
val count = RepliesKmp.getUnreadRepliesCount()
updateBadge(count)
}Last updated