Questions tagged [notification-icons]

23 questions
9
votes
2 answers

Flutter Android Notification Icon (Grey Square)

I'm using flutter_local_notifications and everything is ok on debug mode but when I checked it on my phone with release mode the icon is turning grey square. I'm also using this tool to generate monochrome white icon using just clipart:…
superariesss
  • 269
  • 2
  • 6
8
votes
2 answers

Facebook image as Large Icon Notification appears as white on different phones?

I am having this problem with creating and sending notifications correctly. I read the new Lollipop 5.0 update notification design specification here: https://material.google.com/style/icons.html and…
6
votes
1 answer

Notification icon is greyed out

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.…
Mani Sankar
  • 800
  • 1
  • 9
  • 19
4
votes
1 answer

How can we use multi color icon in android notification icon

I have already tried with transparent background, it's working fine but I need more than 1 color in the notification small icon. When I am trying to get results find whatever color we use that will change by icon color what we give in our code only…
3
votes
0 answers

Do new Android versions support colorful notification icons? Since when?

I've been working with Android notifications and the notification icons are behaving differently on my two test devices (one with Android 9 and one with Android 11). I set the notification icon to be the same as the app's launcher icon, like…
3
votes
1 answer

Phonegap Build , using Firebase, notification icon is just white/grey square

Lots of people have been asking about this issue but all the solutions now seem to be outdated. I tried all the solutions but it's still not working for me using Phongap Build CLI9.0.0, Firebase Cloud for push notifications and phonegap-plugin-push…
Delmontee
  • 1,898
  • 2
  • 26
  • 44
3
votes
5 answers

Ionic 4 + FCM - How to customize Firebase Cloud Messaging (FCM) Notification Icon and Color?

A very frustrating issue while building an Ionic 4 app along with FCM plugin , is the inability to set a custom Notification Icon, with custom color. I figured out how to achieve this, so just wanted to share the solution with our beautiful…
Devner
  • 6,825
  • 11
  • 63
  • 104
3
votes
1 answer

setSmallIcon from external url in Android notification

i need set the small Android notification icon through PNG from a external URL instead of using mipmap. if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { notificationBuilder.setSmallIcon(R.mipmap.ic_notification); …
vinidog
  • 372
  • 2
  • 7
  • 19
3
votes
2 answers

Notification icons look bad on Nexus and Sony devices

I'm presenting different notifications in different scenarios in my application. Those notifications are created using the following code: protected void updateNotificationProgress() { …
Emil Adz
  • 40,709
  • 36
  • 140
  • 187
2
votes
2 answers

Firebase notification icon not shown on Android 5.0 and newer

In short, this is what I am getting on Nougat/Oreo - circle (square on Nougat) instead of app icon: On KitKat app icons shows itself just fine: I have set default icon for Firebase correctly/Android manifest:
2
votes
1 answer

Android system theme adding its own background to the icon of notification

I've created a simple notification using NotificationCompat. Following is my code NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(mContext); mBuilder.setSmallIcon(icon) .setTicker(title) .setWhen(0) …
1
vote
0 answers

Onesignal push notification icon is not showing

I have added a logo image on one signal push notification settings page for web push. It is not showing a logo image on a push notification in the browser. It is showing the default bell icon. We have the same issue on android SDK push notification…
1
vote
4 answers

FCM Custom Notification Icon not displayed

I have created white/transparent PNG notification icons and added them in application meta-data in AndroidManifest as per the manuals. The strange thing is that the custom icon is displayed correctly on Samsung Mini (jelly bean) and Nexus 4 (API…
1
vote
0 answers

Push notifications are not displayed on System tray

I have implemented FCM in my Android application. API send messages using OneSignal to Android devices. Messages are coming through but not showing any icon in the system tray when the app is the background or closed. So I tested using the Firebase…
1
vote
1 answer

How to dismiss the notification icon when my app is in foreground?

I am facing some problem need your help , I have my app in foreground and when i send the notification from the server , then the notification come with the notification icon . but what i need , when my app is in foreground user is seeing the…
1
2