How to remove specific push message from message center at Android?

#1

Hi,
If remote push messages are received when app is in foreground, my app’s event handler receives each message and shows it to the user.
In case of iOS, those messages do not remain at iOS’s message center. But in case of Android, those messages remain at Android message center.
Since user has seen those messages or notifications, I think it is reasonable that those messages don’t remain at message center.

So, I have to remove or dismiss only those messages that user has seen at Android.
However, it is likely that Notifications at Expo only provides dismissing all notifications at message center with Expo.Notifications.dismissAllNotificationsAsync()

Dismissing each notifications seems to be possible only for local notifications.

Is there any way I can remove or dismiss specific notification at Android?

closed #2

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