Unable to set icon in Local Notification


#1

Hello Experts,

Please help me in setting up icon in Local Notification.
Code:

cordova.plugins.notification.local.schedule({
                        id: "2909",
                        at: new Date(new Date().getTime() + 5 * 1000),
                        title: 'The Local Notification',
                        text: 'Check the icon',
                        icon: 'res://mipmap-hdpi/icon.png'
                    });

i have also tried using file:// but it does not work please help …