web-push-php icon indicating copy to clipboard operation
web-push-php copied to clipboard

[ask] is it possible dismiss an existing notification?

Open BlurryFlurry opened this issue 4 years ago • 3 comments

Is it possible to cancel() (dismiss) an existing notification? or update an existing notification? If it is possible, how do you do that?

BlurryFlurry avatar Dec 31 '20 13:12 BlurryFlurry

Hello @BlurryFlurry are you aware if it's possible that when one clicks on a notification if it's possible that it can open up the browser and go to a specific website and or section on that website?

8Ozymandias avatar Jan 21 '21 01:01 8Ozymandias

Hello @BlurryFlurry are you aware if it's possible that when one clicks on a notification if it's possible that it can open up the browser and go to a specific website and or section on that website?

yes

BlurryFlurry avatar Feb 05 '21 07:02 BlurryFlurry

I used renotify and tag properties in the options object in Service Worker to update/replace the existing notification

renotify: true,
tag: 'some_tag',

tahir1002 avatar Apr 24 '21 11:04 tahir1002