flutter_local_notifications
flutter_local_notifications copied to clipboard
Android Push Notification Icon Appears Grey
When a push notification is received on Android, the notification icon appears in grey color instead of white. This happens because the notification icon is not properly set as a white-only transparent icon in the project.
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_notification" />
Expected Behavior: Notification icon should appear in solid white (Material-style) instead of grey.
Icons are displayed based on how you created the icon asset itself. That is external to the Android APIs, let alone the plugin. With that in mind, can you elaborate why this is an issue for the plugin?