80
Views
11
Comments
[Firebase Mobile] Notification icon gets blank in push notification on android
firebase-mobile
Mobile icon
Forge asset by David Sousa
Application Type
Mobile

Hi Team,

Kindly check the below screenshot getting notification icon blank. Send notification from firebase console.


I followed all the guidelines from the below URL but still getting blank notification icon only in android but in iOS its working properly.

https://success.outsystems.com/Documentation/11/Delivering_Mobile_Apps/Customize_Your_Mobile_App/Modify_the_App_Icon?_gl=1*1k7ro66*_ga*MTEyMDgyNjgyOC4xNjA0NTU4MTAx*_ga_ZD4DTMHWR2*MTYxMDUxNjIyNS41NC4xLjE2MTA1MTc5NzcuMjc

extensibility configuration and PFA of app icon zip file which is added in resource folder

{

    "resource" : "App-Icon.zip",

        "icons":{

            "android":[

            {

                "resource":"/ldpi.png",

                "density" : "ldpi"

            },

            {

                "resource":"/mdpi.png",

                "density" : "mdpi"

            },

            {

                "resource":"/hdpi.png",

                "density" : "hdpi"

            },

            {

                "resource":"/xhdpi.png",

                "density" : "xhdpi"

            },

            {

                "resource":"/xxhdpi.png",

                "density" : "xxhdpi"

            },

            {

                "resource":"/xxxhdpi.png",

                "density" : "xxxhdpi"

            },

            {

                "resource":"/GooglePlayStore.png",

                "density" : "GooglePlayStore"

            }

            ],

        "ios": [

            {

                "resource":"/ios-Icon-App-20x20.png",

                "width" : "20",

                "height" : "20"

            },

            {

                "resource":"/ios-Icon-App-29x29.png",

                "width" : "29",

                "height" : "29"

            },

            {

                "resource":"/ios-Icon-App-20x20@2x.png",

                "width" : "40",

                "height" : "40"

            },

{

                "resource":"/mdpi.png",

                "width" : "48",

                "height" : "48"

            },

{

                "resource":"/ios-Icon-App-50x50.png",

                "width" : "50",

                "height" : "50"

            },

{

                "resource":"/ios-Icon-App-27.5x27.5@2x.png",

                "width" : "55",

                "height" : "55"

            },

{

                "resource":"/ios-Icon-App-27.5x27.5@2x.png",

                "width" : "57",

                "height" : "57"

            },

{

                "resource":"/ios-Icon-App-29x29@2x.png",

                "width" : "58",

                "height" : "58"

            },

            {

                "resource":"/ios-Icon-App-20x20@3x.png",

                "width" : "60",

                "height" : "60"

            },

{

                "resource":"/hdpi.png",

                "width" : "72",

                "height" : "72"

            },

{

                "resource":"/ios-Icon-App-76x76.png",

                "width" : "76",

                "height" : "76"

            },

            {

                "resource":"/ios-Icon-App-40x40@2x.png",

                "width" : "80",

                "height" : "80"

            },

{

                "resource":"/ios-Icon-App-29x29@3x.png",

                "width" : "87",

                "height" : "87"

            },

{

                "resource":"/ios-Icon-App-44x44@2x.png",

                "width" : "88",

                "height" : "88"

            },

{

                "resource":"/ios-Icon-App-50x50@2x.png",

                "width" : "100",

                "height" : "100"

            },

{

                "resource":"/ios-Icon-App-114x114.png",

                "width" : "114",

                "height" : "114"

            },

            {

                "resource":"/ios-Icon-App-40x40@3x.png",

                "width" : "120",

                "height" : "120"

            },

{

                "resource":"/xxhdpi.png",

                "width" : "144",

                "height" : "144"

            },

{

                "resource":"/ios-Icon-App-76x76@2x.png",

                "width" : "152",

                "height" : "152"

            },

{

                "resource":"/ios-Icon-App-83.5x83.5@2x.png",

                "width" : "167",

                "height" : "167"

            },

{

                "resource":"/ios-Icon-App-86x86@2x.png",

                "width" : "172",

                "height" : "172"

            },

{

                "resource":"/ios-Icon-App-60x60@3x.png",

                "width" : "180",

                "height" : "180"

            },

{

                "resource":"/ios-Icon-App-98x98@2x.png",

                "width" : "196",

                "height" : "196"

            },

            {

                "resource":"/iTunesArtwork@2x.png",

                "width" : "1024",

                "height" : "1024"

            }

            ]    

        }


}



AppIcon.zip
2022-05-19 09-39-13
David Sousa

Hi Swapnil,

Can you please attach the oml? What's your mobile phone / operating system?


UserImage.jpg
Swapnil Shinde

Hi David Sousa

PFA Oml file.

My mobile : one plus 5 / OS : Android - OxygenOS 10.0.1


IconTest.oml
UserImage.jpg
Swapnil Shinde

Hi Guys,

Please help me out from this issue.

2023-10-13 15-08-35
Ryan Surjadi

Hi Guys, any update for this case?

2022-05-19 09-39-13
David Sousa

My guess is that's related with the OS, but requires more investigation. Does it work well on a normal android OS?

UserImage.jpg
Swapnil Shinde

HI David,

Still facing the issue

UserImage.jpg
Swapnil Shinde

Hi David,

Not working on a normal android OS.


UserImage.jpg
Jack.Wong

Hi Swapnil,

You find the solution yet? I have as problem here, Andorid mobile phone shown blank icon on notification...

2023-06-16 09-51-37
Alex van Geemen

I am facing the same issue, running Android 11

UserImage.jpg
Diogo Luciano

Hi everyone!


Any news on this subject?


From what i've seen the firebase has a default "green square" if not defined.

All the answers that i found were related to overriding this default setting from firebase, but its done via android configurations before building the apk, for example, changing the manifest with a few lines.

I cant figure it out how to do it here in OutSystems, does anyone have a clue? 


Thanks in advance,

Diogo

2024-05-28 00-11-35
Luis Andrés Jara Vásquez

i have the same problem

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.