0

I was just wondering how could you set a multi colored notification icon using FCM since right now i'm using the snippet below in AndroidManifest.xml to color it and its only possible to have one color.

<meta-data
    android:name="com.google.firebase.messaging.default_notification_icon"
    android:resource="@drawable/ic_stat_default" />

<meta-data
    android:name="com.google.firebase.messaging.default_notification_color"
    android:resource="@color/colorAccent" />
Bhoomika Patel
  • 1,895
  • 1
  • 13
  • 30
James
  • 1
  • 1

1 Answers1

0

You can able to define the color at the time of showing the notification refer the below link

Android Color Notification Icon

Stephan John
  • 331
  • 1
  • 2
  • 11
  • Thank you for your comment, I've already seen the information in the link but if im not mistaken they are doing the same thing ive done for FCM and this will only set **one** color for the icon but I want to be able to have a multi-colored notification icon in the notification tray. – James Sep 29 '19 at 05:47