Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Badge icon number - Count out of sync after reboot #41
After Android is rebooted OneSignal notifications do not reappear so the badge count value is no longer in sync with the number of notifications. Notifications should reappear or the counter should reset on boot.
May also be an issue when notifications are cleared programmatically.
You can disable the auto badge counting until a fix is created by adding the following to your
<application ...> <meta-data android:name="com.onesignal.BadgeCount" android:value="DISABLE" /> </application>
If you still want badge support in your app but want to control it manually you can use the following library in your app.
@sagar23jan The meta-data key keeps the SDK from updating the badge value.
There are 3 possible workarounds if you have already released an app and want to clear this value.
Thanks for workaround.
I've added my application ;)
On Sat, May 28, 2016 at 3:36 PM, Abhishek Sagar email@example.com