katzer / cordova-plugin-background-mode

Keep app running in background
Apache License 2.0
1.38k stars 1k forks source link

how to set icon in the notification push area? #293

Open consilience90 opened 7 years ago

consilience90 commented 7 years ago

i try to background-mode but i see only a white rectangular box in the notification push area i install the lastest version

cordova.plugins.backgroundMode.setDefaults({ title: "title", text: "test", icon: 'icon', // this can not available color: 'f4ad42', resume: false, hidden: false, bigText: false });

How can i use icon? even i can't see the cordova image... but a white empty rectangular box only

i don't have touched platforms/android/res folder

help me. i want to use icon in notification push area

kunshao-msft commented 6 years ago

Any update on this? I see the same thing.

paredesivan commented 6 years ago

creo que es desde la version de android 6.0 para arriba