Reputation: 19
I am developing an app using react native. It need to do some push notification. I am using onesignal and react-native-android-badge to do it. I have tested on mi a2, Asus z010d and LG magna, everything run as expected. When I test on vivo v7 [vivo 1718 (android 7.1.2)], the notification is popped up but the badge or badge count not show. do I miss some permission? does anyone know how to fix it?
Upvotes: 0
Views: 2368
Reputation: 28539
react-native-android-badge
is a wrapper for ShortcutBadger
. Unfortunately not all Android devices support badges.
ShortcutBadger
provides a list of supported devices, Vivo does not seem to be one of them.
Unfortunately the app is no longer available on the PlayStore and the link is broken ShortcutBadger
also provides an app to test whether it works on your device. You can download that from here.
Upvotes: 2