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.