Badge
Badge copied to clipboard
Not adding badge when app is not in memory(terminated).
Hi was trying to add a badge when my app receives notification. Everything works fine untill I go to task manager and kill the process. Then I get the notification but the badge is not added. Add badge GCM -> override void OnMessage(Context context, Intent intent)
Badge removed MainApplication.cs -> OnActivityResumed
Device Samsung / SM-G800H Android : 6.0.1
You have to implement this in a background service that will run no matter if you close the app.
I tried to switch to another similar package and I was amazed it worked on my device without any changes. https://github.com/wcoder/ShortcutBadger. When the notification toast is created the code is running in the background. Maybe it's just my device :S