-
Notifications
You must be signed in to change notification settings - Fork 678
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
feature(android): add support for badge count #207
Conversation
great! any extra configuration needed? |
can you fix the conflicts? |
Using Leolin's ShortcutBadger we are able to support any badge counts that are sent as part of the notifications data-payload.
d131298
to
ff536bc
Compare
Conflicts fixed. |
will test and release |
cool thanks :) |
@sondremare tried the function but no badge is showing up. Does it only work for specific system? |
Ah that should ofc been said. It works for specific vendors (LG, Samsung), as the code letting us draw this badge is part of the firmware. See https://github.com/leolin310148/ShortcutBadger |
@sondremare the documentation still states that it doesn't support badges in Android. Should this be changed or hasn't this feature been officially released yet? |
I will change the readme |
(android) setBadgeNumber work but data-payload dont work What i am missing? |
Try structuring your payload like this:
|
badge should be in |
Using Leolin's ShortcutBadger we are able to support any badge counts that are sent as part of the notifications data-payload.