ShortcutBadger
ShortcutBadger copied to clipboard
An Android library supports badge notification like iOS in Samsung, LG, Sony and HTC launchers.
有遇到同样问题的小伙伴吗
I noticed that there's 2 behaviours for push notifications on Android : - unread count (persisting badge, I'd really like that !) - notifications count (only counts notifications in system...
Applying the method: `applyCount(Context context, int badgeCount)` does not set the badge count while some notification is created firstly. Use case: Using an application for receiving calls & sms. Missed...
@Leo-Lin , I just published [react-native-shortcut-badge](https://github.com/aMarCruz/react-native-shortcut-badge) in npm, a React Native wrapper for your excellent library. If you have the time, please take a look to the file [RNShortcutBadgeModule.java](https://github.com/aMarCruz/react-native-shortcut-badge/blob/master/android/src/main/java/com/github/amarcruz/rnshortcutbadge/RNShortcutBadgeModule.java) and...
三星10 没法显示应用小红点
**具体实现** a. 添加权限: b. 应用在需要显示桌面角标的场景,通过广播将信息发送给vivoLauncher: 广播参数: action:launcher.action.CHANGE_APPLICATION_NOTIFICATION_NUM packageName:应用包名 className:主类名 notificationNum:未读消息数目 简单示例: Intent intent = new Intent(); int missedCalls = 10; intent.setAction("launcher.action.CHANGE_APPLICATION_NOTIFICATION_NUM"); intent.putExtra("packageName", "com.android.xxxx"); intent.putExtra("className", "com.android.xxxx.Mainxxxx"); intent.putExtra("notificationNum", missedCalls); intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); sendBroadcast(intent); 注意:...
I have checked on multiple devices but this is not working with android 10
1. Does this library work if the app is in background or killed? 2. I'm trying to set the badge count through the onReceived() of my app's broadcast receiver. The...
Tried the test app, said a random badge number was checked. No number, no colored circle in the top right of the home screen icon. Tried sending details in the...
试用了一下,发现 小米系统 12.x 不生效 -。-