Remove Notification Badge/Count in android according to action taken on web platform

#1

Hi guys,

So, we are using expo on our web platform app. Its been good and we love it. But I need some help regarding push notifications.

Sending notifications is simple and straight forward. Setting the badges also.

The problem is, my users can see their notifications on our web service as well. We would like to be able to clean the badges when they see their notifications on the web. This is undocumented, but I figured the in iOS devices we can do that by sending a notification to expo servers with this obj:

{
“to”:[TOKEN],
“bagde”:0
}

Doing that cleans ios devices notifications beautifully in , but android’s… The user receives an empty notification and the badge increases. Is there a way to clear the android’s notifications ?

Tks for the help!

closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.