Notification.disablePush()

This API can be used to disable push notifications for the embedded mobile SDK.

PARAMETERS

  • token: Your application's FCM token.
  • isTestDevice: (True/False) If the value is set to "True" then the devices will be displayed in the SalesIQ web SDK section to send and test the push notification.

Note: You can send the test notification message from Settings > Brands > (Your brand name) > Installation > Android, under Configure push notification menu, enter the message in the Test Push Notifications input field.

Syntax:

CopiedZohoSalesIQ.Notification.disablePush(String token, boolean isTestDevice);

Example:

CopiedString token = FirebaseInstanceId.getInstance().getToken();
ZohoSalesIQ.Notification.disablePush(token,true);