Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Code worked but no pop up for notifications #101

Open
lau2468 opened this issue Mar 14, 2021 · 2 comments
Open

Code worked but no pop up for notifications #101

lau2468 opened this issue Mar 14, 2021 · 2 comments

Comments

@lau2468
Copy link

lau2468 commented Mar 14, 2021

The code worked and console print the push message received. However, there was no pop up notifications. I tried on both Chrome and Edge and reset both browsers to accept notifications and pop up.

I was trying this at home so there was no corporate firewall to deal with.

@milanmeu
Copy link

milanmeu commented Mar 14, 2021

Your operating system may be blocking the notifications. Can you confirm that notifications from this demo are working?
Can you share the content of your sw.js?

@lau2468
Copy link
Author

lau2468 commented Mar 14, 2021

Yes, you were right. I need to enable notification from Windows 10 Setting->Notifications. I thought as long as I have Chrome running is enough.

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants