Aleksandr
 · Mobile Developer

Application icon is not showing in push notifications on Android.

Project Settings

In the top bar of the Android screen, where the app icons are usually displayed, I see either a square or a Flutter icon.

On iPhones, all icons are displayed perfectly.

Of course I downloaded the adaptive icon for Android according to the documentation, but it doesn't help.

When I downloaded the application code, I found the Flutter icon in the folder where icons for Android are stored. Why is it not automatically replaced by the app icon?

Interesting thing is that sometimes in the notification bar the icons don't load either and instead of them an empty square or Flutter icon is displayed, although a minute earlier there was an app icon.

What have you tried so far?

I tried writing in a custom function at startup to have android grab the icon from the "mipmap-xxxhdpi" folder, but since the Flutter icon is there and not my app icon, the result was the same. I don't see how without unloading the code I can add the desired image to this folder.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
7 replies