Sunday, 29 August 2021

How can I know if browser notifications are blocked by Windows

My web app sends browser notifications, and I know how to check the browser permission for the notifications, and how to request permissions if they are not granted. However, even if the user granted permission for my site to send notifications, she might still not get the notifications, because they might be disabled (either globally on Windows, or for the current browser).

Is there a way for me to detect this and let the user know that notifications won't be displayed unless she enables them in Windows Settings?



from How can I know if browser notifications are blocked by Windows

No comments:

Post a Comment