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

Added support for Yandex Launcher #284

Closed NickPakhomov closed 5 years ago

NickPakhomov commented 6 years ago

Yandex Launcher is one of the most used launchers in Russia. Since 2.0.9 it supports direct insertion and deletion of badges via ContentProvider calls. It's always better to make direct badge calls to a launcher rather than for a launcher to implement custom workarounds (for example, Nova Launcher support was added earlier added in this library).

At the moment the ShortcutBadger library has a bug with detecting the default launcher (context.getPackageManager().queryIntentActivities may not return default activity as first in the list). This has been fixed.

leolin310148 commented 6 years ago

@NickPakhomov please fix the conflict, and add image to readme.md like other launchers, thank you!

leolin310148 commented 6 years ago

@NickPakhomov will you be able to take a screenshot like other launchers and add the screenshot into the README.md ?

something like these:

image
NickPakhomov commented 5 years ago

@leolin310148 any ETA on the merge? :)