notification.registerPush()

Note: This API is supported from version 5.1.0 

The ZohoSalesIQ.Notification.registerPush() API allows device registration to receive push notifications from SalesIQ by the FCM token.

Parameters

  • token - FCM token received from the firebase.
  • isTestDevice - (true/false) registers the device as a test device if the value is true.

Note: 

  • The isTestDevice must be false in production.
  • Use this API onTokenRefresh() method.

Example

CopiedZohoSalesIQ.notification.registerPush('token',true);