HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center

Managing Notifications for Cordova

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 for your Cordova apps.

In-App Notifications

By default, a notification will be shown on top of your app's UI when a new message is received.


An example of an in-app notification.

Disabling In-App Notifications

Use the following method to disable notifications that appear in-app.


Get Unread Messages Count

You can use the following method to get the number of messages a user has yet to read.

  function (count) {
 		console.log('Replies count: ' + count);
  function (error) {
 		console.log('getUnreadRepliesCount could not be called ' + error);

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.