-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Android Blank Notification Icon #349
Comments
Just figured it out -- my AndroidManifest had:
When I changed it to |
@macdonst Where in that document does that describe anything to do with the targetSdKVersion? Ive read the documentation at least 5 different times. |
@ryanpager you shouldn't try and fight the new normal in Android. You are better off following their icon guidelines which I link to. |
Can confirm, setting the icon with the "icon" property doesn't work with targetSdkVersion set to 22 (shows a blank image), but works perfectly (shows our png icon) with it being set to 20. Hopefully this doesn't break anything in our app. |
OMG guys, this is driving me crazy. This is an Android OS change. When you see the blank image that is expected behaviour in Android 22 and later. The OS will take your icon replace all non transparent pixels with the color white. So if you have an icon with no transparent pixels it will look like a white square. Read the guidelines I link to above. |
hello guys the 348 told us the clear logical Although I think,the Android official in Android 22 and above let icon replace all non transparent pixels with the color white,is a crazy behavior (I mean I don't like it),if somebody know why Android official will do this change ? (Material Design ? or...) |
@bau720123 Yes, it was done for material design. |
thanks @macdonst |
On some devices I get the icon, on some don't. :( |
This thread has been automatically locked. |
When I receive a notification on Android, the icon showing up is always blank. I am registering as follows,
Version: 1.3.0
The res folder in the android platform has all of the correct icons, so im a little stumped as to why they aren't showing up. The icon I get instead is a grey circle, with a white circle inside of it. I've even tried adding the 'icon' configuration attribute in there, and it doesn't work...
Really strange...any ideas?
The text was updated successfully, but these errors were encountered: