Firebase Push Notification ��con (214576)

How to change fcm icon ?

brothers ?

brothers ?

3 Answers

3

brothers ?

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?

where is the notification json?

No, it isn't