This API returns an integer representing the number unread messages by the user.
Replies.unreadRepliesCount
IBGReplies.unreadRepliesCount;
Replies.getUnreadRepliesCount();
Replies.getUnreadRepliesCount((count) => {
Alert.alert("UnReadMessages", "Messages: " + count);
});
cordova.plugins.replies.getUnreadMessagesCount((count) => {}, (error) => {});
//iOS
Replies.UnreadRepliesCount;
//Android
Replies.getUnreadRepliesCount();
Replies.getUnreadRepliesCount(Function function);