pushy / pushy-flutter

The official Pushy SDK for Flutter apps.
Apache License 2.0
21 stars 19 forks source link

Status Bar Notification Issue In Android #58

Closed faizanShoukat55 closed 11 months ago

faizanShoukat55 commented 11 months ago

Hy Pushy Notification icon not showing properly in status bar in release mode while its working perfect in debug mode. Its showing black icon in dark mode. Please check it.

pushy commented 11 months ago

Hi @faizanShoukat55, Thanks for reaching out. We'd be glad to assist.

On Android 6.0 Lollipop and up, notification icons cannot contain any color channels. The notification icon you use must be transparent, with only an alpha channel, and have no background color. You can convert your .png to a valid notification icon by using this third-party tool.

Please let us know if you require any further assistance.

faizanShoukat55 commented 11 months ago

Hi @pushy yes I am using the grey Scale Icon. But the issue is still the same. Even tried to use your sample project icon "ic_notify" in my own project but the response is still the same. It works perfectly in debug mode while in release mode icon goes grey out. Please help me out in this regard. ic_notification_logo_grayscale

pushy commented 11 months ago

Hi @faizanShoukat55, Please try the solution mentioned here: https://stackoverflow.com/a/61303224/1123355