Badge for android

hi everyone,
i have an issue with app icon badge with android platform. ‘badge’ option is not set in android object in pushOptions object.

**
const options: any = {
android: {
senderID : '******2012’,
badge : ‘true’
},
ios: {
alert: ‘true’,
badge: ‘true’,
sound: ‘false’
},
windows: {}
};

Please help me, its very urgent, i already spent 3 to 4 days on this issue. any help is appreciated. please help. i am stuck very badly.

hi , when you use Onsignal , the badge is automaticly added when your server send a notification .

add this pluging to your app and send notification from your server or Onesignal dashboard https://ionicframework.com/docs/native/onesignal/