ShortcutBadger icon indicating copy to clipboard operation
ShortcutBadger copied to clipboard

Notification Count when App is in background or killed

Open umangbhola opened this issue 7 years ago • 5 comments

  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 count is being updated or the badge is being updated if the notification is received when the app is in foreground. How can I do the same when the app is in background or when the app is killed?

umangbhola avatar Jul 12 '17 14:07 umangbhola

I think U have 2 do something like a service to keep de badge updated

rsanjuan87 avatar Jul 12 '17 14:07 rsanjuan87

I have included the applyCount() inside the nReceive(Context context, Intent intent) method of my BroadcastReceiver class

umangbhola avatar Jul 12 '17 17:07 umangbhola

I am facing same issue... is there anyone who can help me...

Karanveer-logiciel avatar Aug 08 '17 04:08 Karanveer-logiciel

facing same issue ,i catch notification in my service ,but applyCount do not work.

zhangjinlu0222 avatar Nov 01 '17 08:11 zhangjinlu0222

Does this work yet?

heytulsiprasad avatar Jul 26 '21 03:07 heytulsiprasad