Open MuhammedRefaat opened 1 month ago
Hello @MuhammedRefaat thanks for your patience. Is this still an issue for you?
On iOS, you must set up the App Groups feature as outlined in our Mobile Push setup guide to enable badges.
If you are still having issues after reviewing these steps, please provide screenshots of your setup and we will be happy to assist.
Thanks!
What happened?
In iOS, when opening or resuming the app, I'm calling
OneSignal.Notifications.clearAll();
to clear the notifications and to reset the notifications badge count to Zero, but once a new notification is received the badge number shown is accumulated from the previous number instead of showing (1) as the notifications count.Steps to reproduce?
What did you expect to happen?
Once notifications are cleared, the badge should be cleared, and when receiving a new notification the badge should show (1) not (previous notifications count + 1).
OneSignal Flutter SDK version
Release 5.2.2
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct