Set notification icon for Android
This API allows you to set an icon for the Mobilisten related notifications in your Android application.
Parameter
- resourceName - Add name of the icon in the drawable folder inside android, without extension.
Steps:
- Add the icon to the drawable folder of your project's resources (res/drawable).
- When mentioning the icon name in the API, do not use the extension names.
For example: If you have an icon called "siq_notify.xml" in your drawable folder. Then the name used in the API should be ZohoSalesIQ.Notification.setIconForAndroid("siq_notify").
Syntax
CopiedZohoSalesIQ.Notification.setIconForAndroid(resourceName: string);
Example
CopiedZohoSalesIQ.Notification.setIconForAndroid("ic_bell");