Reputation: 61
I have a server that sends users many push notifications at any single time. Let's say 5 notifications are send to the phone. If I open one of them, all other notifications disappears.
How do I make the only one that is clicked, disappear. I look through the tutorials and done everything correctly. Is it something to do with the badge number or do I need to assign a special ID to every notification?
I can't find any solution on the web and I am surprise no one else faces this issue.
Ps. I am using Ionic Framework to build my app
Upvotes: 2
Views: 1589
Reputation: 37590
" I am surprise no one else faces this issue."
Many many people have faced this same issue, its a mystery why Apple don't add more functionality in this area after so many years, but the situation is that you can't programatically delete just a single notification. You either delete all of them or none of them.
Upvotes: 0