How to change fcm icon ?
3 Answers
3brothers ?
brothers ?
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": "MyIcon"} right?
– unity_bfawXRcvR563OA
brothers ?
– takixxbrothers ?
– takixx