cordova-plugin-badge
cordova-plugin-badge copied to clipboard
Access and modify badge numbers
compile
replace complie to implementation badge.gradle for android
The user-agent string for an iPad running iOS 15.3.1: --- https://github.com/katzer/cordova-plugin-badge/blob/8e870f7f358d9435180f92dba4d2fc3b7f52bb4f/www/badge.js#L21 https://github.com/katzer/cordova-plugin-badge/blob/8e870f7f358d9435180f92dba4d2fc3b7f52bb4f/www/badge.js#L144-L150
this.badge.hasPermission().then((res) => { // Success! this.badge.set(10).then((res) => { // Success! alert("set badge"); }).catch((ex) => { alert(JSON.stringify(ex)); }); }).catch((ex) => { alert(JSON.stringify(ex)); }); This is my code. In this "set badge"...
Badge doesnt show on ios device
Someone might have found a solution to showcase the notification counter. Search for a solution to display the badge on android devices. It will be cool if you share the...
Hello! I am using Ionic 5 with cordova and it doesnt clear badges, any idea how to fix it? Thank you
I'm trying to set the badge count for the user when the app is running in the background. But it's not working. I'm using Firestore, and save the user-specific number...
Using version 0.8.8 in an Ionic Cordova iOS project, with push notifications sent by the Ruby UrbanAirship gem. To reproduce: 1. Attach a listener to your push notifications that adjusts...
In our startup function ons.ready(function () { // mor code cordova.plugins.notification.badge.set(0); cordova.plugins.notification.badge.clear(); //END READY FUNCTION So the badge should be empty, but keeps showing "1" only in IOS. Am I...
 The location from where the error is throwing is below: 