You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Ionic and OneSignal for push notifications.
I also manage the badges manually.
Via OneSignal, on IOS, I increase the badge by one when the user receives a notification.
If the user goes to a particular page, I do a Badge.clear().
The clear function works, the badges are no longer visible on the application icon. However, if I receive a new notification within 5 minutes, the badge changes to number two.
If I re-clear, the badges are no longer visible. If I receive a third notification, the badge will have the number 3.
However, if I wait about 5 minutes between each clear and notification, it seems to work.
Hello,
I use Ionic and OneSignal for push notifications.
I also manage the badges manually.
Via OneSignal, on IOS, I increase the badge by one when the user receives a notification.
If the user goes to a particular page, I do a
Badge.clear()
.The clear function works, the badges are no longer visible on the application icon. However, if I receive a new notification within 5 minutes, the badge changes to number two.
If I re-clear, the badges are no longer visible. If I receive a third notification, the badge will have the number 3.
However, if I wait about 5 minutes between each clear and notification, it seems to work.
The text was updated successfully, but these errors were encountered: