leolin310148 / ShortcutBadger

An Android library supports badge notification like iOS in Samsung, LG, Sony and HTC launchers.
Other
7.35k stars 1.34k forks source link

Update VIVO support #368

Open yfdyh000 opened 3 years ago

yfdyh000 commented 3 years ago

@leolin310148 Added the "com.vivo.notification.permission.BADGE_ICON" to make the notification settings provide the badge option, otherwise it doesn't work.

Added the FLAG_RECEIVER_INCLUDE_BACKGROUND based on VIVO and third-party documents, there is no Android 8.0 devices to truly test. Added the "com.bbk.launcher2" for failback, the package exists, but no truly test. It will resolve the operations failed when the KISS Launcher is installed.

On vivo Z1, Android 9.0.

vorokami commented 2 years ago

Checked this on vivo 1808, android 8.1. Current version of library ShortcutBadger don't work on my device. This solution solved my problem. Great thanks.