-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Badge not display on app icon in android #124
Comments
I had the same issue |
I had the same issue |
Any solutions ? |
not yet any solution. |
Any solutions now? |
Works fine on Xperia XZ - Android 8.0.0 I'm looking for a solution for Samsung devices.. |
Same issue on a samsung galaxy tab with android 8.0.0, but the badge appear when a new push notification is received, then after opening the app, badge is removed |
Please notice that the plugin only supports devices that are supported by ShortcutBadger. There's no error if its not possible to set a badge. The cordova plugin nor the underlying ShortcutBadger cannot know if its working or not because its not a core Android API. |
Same issue on Google Pixel with Android 9 |
Same issue on MIUI 10 with Android 8.1 |
same here on xiaomi mi 2 |
Is it device dependent or launcher dependent? The ShortcutBadger page indicates that its launcher dependent. I have a Razer running Oreo 8.1 and I can't get it to work. I tried installing several launchers listed on the ShortcutBadger page (Nova, OPPO, KISS, ASUS) and none of them seem to work. Calling |
Same issue here. |
yes,I have a same issue.Why the badge can't display? |
xiaomi note 2, have a same issue |
Any update on this as we are having the same issue? Is there a way to modify the APK generated by PhoneGap and add the native Android calls for badges? |
Tried set badge via payload, cold call, hot call. Functions result with a success, i can read the correct badge count, but it just doesn't show up visually. We need some solution. |
Same issue here @katzer will you work on it ? |
I believe many Android models (including for Samsung S8) don't support badge via ShortcutBadger (which is the plugin used underneath cordova-plugin-badge for android). The only way to set the badge is to use a push notification. At least, that's what I've observed in my own testing. Here's some information about Android 8 And it appears this issue is ongoing |
Thank you @Harmonickey, so were're waiting for ShortcutBadger udpate. |
Badge shows in "Ionic devapp" when using "ionic serve --devapp". |
Just replaced "cordova-android" from "8.1.0" to "^8.1.0" in package.json and badge is working now with both cordova and capacitor. |
@qamrulhaque hmm so you're using 8.2.0 ? |
Still doesn't work on Any news ? |
same issue, any update? |
This is my code.
In this "set badge" alert popup.
But still badge not display on app icon.
The text was updated successfully, but these errors were encountered: