Setting the Android Push Notification Icon background color #13327
Replies: 3 comments
-
facing this same issue but in my case its blue as my app primary color is blue, also this issue is only coming upward android 11 |
Beta Was this translation helpful? Give feedback.
-
Same issue here. Already set AndroidManifest.xml and color parameter in AndroidNotificationDetails. |
Beta Was this translation helpful? Give feedback.
-
I found a solution. Create the notification icon on the Android Asset Studio website, unzip and copy and paste the folders to the
|
Beta Was this translation helpful? Give feedback.
-
At the moment, when my Push notification arrives, it looks like this:
As you can see, the red background color does not fill the available background.
My foreground icon is a transparent image containing the white "m".
The background color comes from
I wonder why this color is picked up at all.
In my
AndroidManifest.xml
, I additionally added this, located in the<application>
tag but not in a<activity>
tag:But it is not replacing the color.
My goal is that the red background color fills the background, like other notifications do it with their icons as well.
The notification itself does not contain any color or icon information, so the fallback should be whatever is defined in the manifest.
Beta Was this translation helpful? Give feedback.
All reactions