Carlos
Carlos

Reputation: 97

Badge notifications on Android programmatically

I am trying to set badge notification on icon for my app when I recive a push notification. I see that there are some libraries but all not works and I see that there are some codes that check manufacturer name to apply a counter on icon app.

For example, on Xiaomi smartphone, I need to open Settings > Notifications than search my app and set BadgeNotification to "enabled".

How can I do this programmatically? I am not founding a permission to set on manifest...

Upvotes: 1

Views: 1097

Answers (1)

Vikas
Vikas

Reputation: 468

Out of box android OS doesn't support badge functionality yet. You could.use library of it is device specific. Like samsung, vivo etc

Upvotes: -1

Related Questions