Closed alexesto closed 11 months ago
WARNING: IF YOU IGNORE THIS TEMPLATE, WE'LL IGNORE YOUR ISSUE. YOU MUST FILL THIS IN!
Provide a general summary of the issue.
cordova -v
cordova platform ls
Tell us what should happen notification plays default sound and badge increments a value
Tell us what happens instead notification does not play sound and badge does not appear on the icon
Reproduce this issue; include code to reproduce, if relevant
cordova.plugins.notification.local.schedule({ id: 1, title: this.titleAlert, text: anotacao.descricao, trigger: { at: trigger }, data: {id:anotacao.idAlerta, idNotificacao:idNotificacao}, icon:'file://assets/icon/custom-icon.png', smallIcon:'res://assets/icon.png', vibrate: true, lockscreen: true, foreground: true, badge:1 });
What were you trying to do?
play default sound of phone notification a show badge on launch icon
Include iOS / Android logs
Was permissions in app info
WARNING: IF YOU IGNORE THIS TEMPLATE, WE'LL IGNORE YOUR ISSUE. YOU MUST FILL THIS IN!
Provide a general summary of the issue.
Your Environment
cordova -v
): 10.0.0cordova platform ls
): android 12.0.0Expected Behavior
Tell us what should happen notification plays default sound and badge increments a value
Actual Behavior
Tell us what happens instead notification does not play sound and badge does not appear on the icon
Steps to Reproduce
Reproduce this issue; include code to reproduce, if relevant
Context
What were you trying to do?
play default sound of phone notification a show badge on launch icon
Debug logs
Include iOS / Android logs