6

I created an image in a 96x96 size, gave padding of 4px on all sides following this information.

Then I used Android Asset Studio to generate icons for different screens. But when I used these in my Notification Builder it is showing a grey box. Where am I doing wrong?

This is my image. Unable to display it here as background is transparent and image is white in color. Please download to see it.

Mani Sankar
  • 800
  • 1
  • 9
  • 19

1 Answers1

1

I have the same problem. all my colors are white over transparent png, i still get plain white square on it. I checked the drawable folder have already generated 12 corresponding ic_stat_name.png file and they look as expected. But when i send notification the icon still appear white square.

I found the solution Notification Icon with the new Firebase Cloud Messaging system

I use firebase notification which, according to the above source, will use the launcher icon instead of my expected ic_stat_name.png for notification

Community
  • 1
  • 1
Simon Ho
  • 588
  • 1
  • 8
  • 21