Notification.registerPush()
This API is supported from version 8.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.
Syntax
CopiedZohoSalesIQ.Notification.registerPush(token: string, isTestDevice: boolean);Example
CopiedZohoSalesIQ.Notification.registerPush(token, true);