FCM Push Notification Icon no longer appearing as expected

JJS jjs at krutt.org
Fri Nov 9 16:02:56 EST 2018


Well after some searching.

It seems that it has to do with the targetting LC does now at sdk26, and 
thus makes a standard square notification with a white circle in it.

Google says an notification has to be white. And edit an icon at 400% 
129x192px. a 100% icon is 48px.

If target <21 then the notification will have original colors. My target 
was Jelly Bean 4.1 = API 16, so before targetting API26 it was working 
ok. But Google enforces it to target the sdk26.

according an answer also here: 
https://stackoverflow.com/questions/28387602/notification-bar-icon-turns-white-in-android-5-lollipop

So probably too bad: I do like colored notification icons more than the 
sad white ones.

Back to the drawing table and create ugly white icons...


Op 9-11-2018 om 17:59 schreef JJS via use-livecode:
> Hi,
>
> anyone noticed that the FCM (GCM) Push Notification icon does not 
> appear anymore in the status bar on Android when a notification is 
> received?
>
> It's now a standard white square as if it was not configured correct.
>
> Except nothing has changed to the code or the used PNG at standalone 
> settings.
>
>
> Can anyone confirm?
>
> Thanks!
>
> Sphere
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list