katzer / cordova-plugin-local-notifications

Cordova Local-Notification Plugin
Apache License 2.0
2.57k stars 1.75k forks source link

Ionic 2: change icon notification #1321

Closed holu15795 closed 6 years ago

holu15795 commented 7 years ago

Expected Behavior

i want change icon notification

Actual Behavior

notification show icon default

Steps to Reproduce

image

let notifi = { id: this.i++, title: "Notifi !!!", text: "yayays !!!", at: new Date(new Date().getTime() + time), icon: 'file://img/clock1.png' }; LocalNotifications.schedule(notifi);

pcsantana commented 7 years ago

This helped me: https://github.com/katzer/cordova-plugin-local-notifications/issues/1308#issuecomment-305680542

marcovtwout commented 7 years ago

Also see https://github.com/katzer/cordova-plugin-local-notifications/issues/1398

katzer commented 6 years ago

Please keep in mind that your icon should follow some design rules: monochrom and transparent background instead of white...

joesleiman commented 5 years ago

@katzer i make an icon transparent and put it in the correct positions and correct name , it works fine, but as the icon is white and transparent background it doesn't look nice, how can i change the background if the icon (big-icon)?