Home > Back-end >  FCM Custom Notification Icon in flutter
FCM Custom Notification Icon in flutter

Time:05-25

good morning all,

I'm using firebase cloud messaging to send notifications but I'm trying to change its icon and can't do it

I'm trying a lot of solutions but no one is working for me such as :

1-

<meta-data
  android:name="com.google.firebase.messaging.default_notification_icon"
  android:resource="@mipmap/ic_notification" />

2- changing launcher icon

3- modify the launch_background.xml and make the transparent

and a lot of solution, could anyone help me, please?

CodePudding user response:

I was able to set custom notification and custom sound or custom icon via local notification while using push notification in flutter.

1

2

project detail

like ♡ ♥

CodePudding user response:

thanks for @Hardik Mehta

my mistake was that I uploading a png image with background color so it wasn't work

  • Related