Firebase Push Notification İcon
How to change fcm icon ?
Answer by MGGDev · Jan 09, 2019 at 10:40 AM
This worked for me:
So you should be able to add your icon(s) to Assets/Plugins/Android/res/drawable/ and reference it name
Then, in the notification json, specify your icon. For example:
"notification": {
"title": "Title",
"body" : "First Notification",
"text" : "Text",
"icon" : "MyIcon"
}
Note: I used one of these icons.
There's no drawable folder under Android/res, did you manually add it? Also the code, we only needed "notification": {"icon": "$$anonymous$$yIcon"} right?
Your answer
Follow this Question
Related Questions
Send push notification once in a week with Firebase 0 Answers
Android push notification white icon 0 Answers
[Android] Push notification for an inactive player 1 Answer
iOS notification with large icon using Unity Mobile Notifications Package 1 Answer
Changing icon for Android Push Notifications on Server-side 2 Answers