Plugin version:
"@capawesome/capacitor-badge": "^2.0.2",
Platform(s):
generic #91~18.04.1-Ubuntu SMP Fri Jul 23 13:36:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Current behavior:
Using Badge.set does not work, but works after creating a notification
Expected behavior:
Badge.set should work fine.
Steps to reproduce:
Badge.clear();
Badge.set({count: 10});
console.log("Badge Count: ", Badge.get()); // count is 0
Related code:
Badge.clear();
Badge.set({count: 10});
console.log("Badge Count: ", Badge.get()); //count is 0
Other information:
Capacitor doctor:
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 4.6.2
@capacitor/core: 4.6.2
@capacitor/android: 4.6.2
@capacitor/ios: 4.6.2
Installed Dependencies:
@capacitor/cli: 4.4.0
@capacitor/ios: 4.4.0
@capacitor/core: 4.4.0
@capacitor/android: 4.4.0
[success] Android looking great! 👌
insert the output from `npx cap doctor` here
Plugin version:
Platform(s):
generic #91~18.04.1-Ubuntu SMP Fri Jul 23 13:36:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Current behavior:
Using Badge.set does not work, but works after creating a notification
Expected behavior:
Badge.set should work fine.
Steps to reproduce:
Badge.clear();
Badge.set({count: 10});
console.log("Badge Count: ", Badge.get()); // count is 0
Related code:
Other information:
Capacitor doctor:
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 4.6.2
@capacitor/core: 4.6.2
@capacitor/android: 4.6.2
@capacitor/ios: 4.6.2
Installed Dependencies:
@capacitor/cli: 4.4.0
@capacitor/ios: 4.4.0
@capacitor/core: 4.4.0
@capacitor/android: 4.4.0
[success] Android looking great! 👌