Managing Notifications
Detailed in this page is how you can set up push notifications as well as manage in-app notifications for new in-app chat messages.
In-App Notifications
By default, a notification will be shown on top of your app's UI when a new message is received.
Disabling In-App Notifications
Use the following method to disable notifications that appear in-app.
cordova.plugins.replies.setInAppNotificationEnabled(true, successCb, errorCb);
Get Unread Messages Count
You can use the following method to get the number of messages a user has yet to read.
cordova.plugins.replies.getUnreadMessagesCount((count) => {}, (error) => {});
Updated over 4 years ago
What’s Next
Learn to identify your users so that push notifications always go to the correct user. Also check out how to communicate with your users by chatting with them through different pages in your dashboard.