local_notifications icon indicating copy to clipboard operation
local_notifications copied to clipboard

How to Add custom images or icons onto the AddActions or Actions

Open Aris-ngoy opened this issue 6 years ago • 3 comments

i would like to use icons on actions instead of text

Aris-ngoy avatar Apr 13 '18 23:04 Aris-ngoy

I'm not super familiar with iOS, but from a quick search, it seems like iOS only supports text for actions.

On Android, this is definitely possibly, just not implemented yet. Though on android sdk 24+, the icons will not be shown, only the text. I almost added this functionality recently but didn't think anyone would want it (guess I was wrong). For system icons, I know exactly what I have to do: basically just add another parameter in dart that is propagated to the native code and then use that value instead of using 0 at this line. For custom images/icons, I'll have to investigate.

mitchhymel avatar Apr 14 '18 00:04 mitchhymel

that will be helpful thanks

Aris-ngoy avatar Apr 14 '18 01:04 Aris-ngoy

Please give support for adding custom content view in notification.

Ajit121 avatar May 24 '18 11:05 Ajit121