I made an app and I implemented push notifications and it works but I've tried to change the default icon with a image.png
but it's not working the way that I expected. This is how my notification looks:
And I want my icon to look like this:
I've added in my android manifest this:
<!-- Add custom icon to the notifications -->
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_notifications" />
<!-- Change the color of the icon -->
<meta-data
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/colorPrimary" />
I don't know what I've done wrong but can you help me?