Badge on App icon
05:09 20 Oct 2016

I need to show badge on App icon in my application

what i have tried:

  1. This https://github.com/leolin310148/ShortcutBadger library do it on many devices.I have checked its manifest and saw that there exists a permission for each type of launcher

     
       
     
    
     
    
     
    
      
     
     
    
    
    
     
     
    
     
     
     
     
    
     
     
    

2.I have gone through many available answers that are already on stackoverflow like

How to display count of notifications in app launcher icon

can we show badge number on android app icon like iphone?

How to show badge count with app icon on Redmi?

Add unread notification badge on android app icon

Is there a way to add a badge to an application icon in Android?

All these resources helped me to attain the task on above mentioned devices but i can still see there are lot man devices like xiomi,micromax etc in which app like wtsapp,facebook etc are showing badges but i am unable to show badge on these devices.

Have anyone here has achieved it.Any help will be appreciated.

android android-studio badge