How to remotely reject notifications using network push notifications?

I use push notifications on the Internet using the new service-based API and use this use case:

  • The user chooses to receive notifications on multiple devices / platforms.
  • We send notifications to them on all devices / platforms.
  • The user rejects a notification about one of these devices / platforms.
  • We now want to remotely hide this notification from our other devices / platforms

Given user restrictions using the Push API, is there any way to achieve this experience?

+8
web-push push-api progressive-web-apps service-worker
source share
1 answer

As far as I know, this is not possible, but this is a general function request.

The main risk that you experience when sending a push message to hide a notification is that it can trigger a notification that will be displayed by a browser that has the message in lines:

"example.com is updating in the background

+2
source share

All Articles