How to set notification status icon with Firebase FCM (using Admin SDK's sendToDevice or HTTP)?

1.3k Views Asked by At

After managing to send notifications and setting the icon in the notification message, I would like to set the status bar notification icon. In the Android SDK there is a setSmallIcon method on the NotificationBuilder. What is the equivalent property of the notification object in the Firebase node.js Admin SDK?

In case you forget what the status bar icon is, here is a picture of some: enter image description here

If there is no equivalent, how can one be hacked?

0

There are 0 best solutions below