Cordovalocalnotification.schedule sound icon does not working

#1

I’m trying to set icon and sound for ionic local notification , this is my code:

$cordovaLocalNotification.schedule({

                        id: item.IdCommande,
                        title: 'Notification MajorClass ',
                        text: 'Nouvelle Commande',
                        sound: "file://sounds/message.mp3",
                        icon:"http://webservicemc.wbconcept.net/Chauffeur/iconNotif.png"

                        }).then(function (result) {
                            //
                        });

                        });

but the result set default icon and sound for device !!!

#2

Your problem is solved??? beacuse I have same problem…icon is not changing

#3

Icon is working in my case
I changed following code

local-notification-util.js

defaults.icon = ‘res://icon’;
defaults.smallIcon = ‘res://icon’;

icon: ‘res://icon’,
smallIcon: ‘res://icon’,

and I didn’t put image icon.png in platform/android/res/drawable folder…I do it and my problem is solved

and for sound I’m doing this
sound: ‘res://platform_default’, in local-notification-util.js

#4

have done your changes, it’s still not working but thx for your help !

#5

Can I see your code??