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

```
 <!--for Samsung-->
   <uses-permission      android:name="com.sec.android.provider.badge.permission.READ"/>
 <uses-permission android:name="com.sec.android.provider.badge.permission.WRITE"/>

 <!--for htc-->
<uses-permission android:name="com.htc.launcher.permission.READ_SETTINGS"/>
 <uses-permission android:name="com.htc.launcher.permission.UPDATE_SHORTCUT"/>

  <!--for sony-->
 <uses-permission android:name="com.sonyericsson.home.permission.BROADCAST_BADGE"/>
 <uses-permission android:name="com.sonymobile.home.permission.PROVIDER_INSERT_BADGE"/>
<!--for apex-->
<uses-permission android:name="com.anddoes.launcher.permission.UPDATE_COUNT"/>

 <!--for solid-->
 <uses-permission android:name="com.majeur.launcher.permission.UPDATE_BADGE"/>

 <!--for huawei-->
 <uses-permission android:name="com.huawei.android.launcher.permission.CHANGE_BADGE" />
 <uses-permission android:name="com.huawei.android.launcher.permission.READ_SETTINGS" />
 <uses-permission android:name="com.huawei.android.launcher.permission.WRITE_SETTINGS" />

 <!--for ZUK-->
 <uses-permission android:name="android.permission.READ_APP_BADGE"/>

```

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

[How to display count of notifications in app launcher icon](https://stackoverflow.com/questions/17565307/how-to-display-count-of-notifications-in-app-launcher-icon)

[can we show badge number on android app icon like iphone?](https://stackoverflow.com/questions/8937700/can-we-show-badge-number-on-android-app-icon-like-iphone)

[How to show badge count with app icon on Redmi?](https://stackoverflow.com/questions/38685550/how-to-show-badge-count-with-app-icon-on-redmi)

[Add unread notification badge on android app icon](https://stackoverflow.com/questions/32471221/add-unread-notification-badge-on-android-app-icon)

[Is there a way to add a badge to an application icon in Android?](https://stackoverflow.com/questions/2905542/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.