In my application i have used parse cloud code for sending push notifications to user.By default notification icon used app icon.but I want to change notification icon . I used this below code in manifest xml
<meta-data android:name="com.parse.push.notification_icon" android:resource="@drawable/noti_icon"/>
But the icon will not change. Any way to achieve this??
The official way to change the Android push notification icon when receiving push notifications using Parse, as stated in the Parse Android docs for push notifications is as follows:
IMPORTANT
Make sure the image that you want to use follows the Icon Reference Chart section for Notification icons - specifically:
They should be flat (no gradients), white and face-on perspective
If your icon violates one of these requirements, your icon will show as a white box.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With