push notifications using update event in custom business logic

I have wrote an custom business logic to publish a push notification whenever an update happens on a specified field in a table.

I am able to receive notification on android and ios, but the catch here is for both platform i am receiving notification with same android headers as shown below

  publishOptions.putHeader( "android-ticker-text", main_feed.getTitle() );
  publishOptions.putHeader( "android-content-title", main_feed.getTitle() );
  publishOptions.putHeader( "android-content-text", main_feed.getMessage() );

First issue i want to resolve is how can i set different header for ios and android?

Second one is when i raise a notification for Android i am unable to see icon in notification bar. Please find the same in attachement.

Android_Push_Notification_Image.PNG

We are struck here again, Mark can you please help me to resolve this issue ?

Thanks,
Santhosh P

can anyone help me to resolve this problem ?

Thanks and Regards,
Santhosh P

  1. You can try to send one message with different os headers.
  2. “Second one is when i raise a notification for Android i am unable to see icon in notification bar. Please find the same in attachement.”

According to our Support Policy we can not debug your code.