I am not able to "view" web push notifications in Chrome in my MacBookPro on some websites. Some of the push providers I have tested unsuccessfully are OneSignal and Cleverpush.
I have made sure that MacOS permissions like Settings > Notifications and Settings > Focus are not blocking the notifications (unless I have overlooked something).
Here is how I tested:
Go to any of these pages:
https://cleverpush.com/en/test-notifications/
https://www.businessinsider.com/guides/tech/chrome-wont-show-notification (OneSignal)
Allow web push permission when prompted.
For the Cleverpush site, I triggered demo notifications from the web page. I am not receiving any notifications.
For the Business Insider site, I opened Chrome Devtools > Application > Service Worker. Then in the Service Worker view, I clicked "Push" to send a test push message. I am not receiving any notifications.
For the Vercel app, I triggered demo notifications from the web page. I am able to receive the notifications correctly.
So in the Cleverpush and Business Insider instances, I was not getting any notifications.
Then in Devtools when I go to Application > Background Services > Push Messaging and Background Services > Notifications, I was able to see the correct series of events indicating there were incoming notifications. Please refer to the screenshots. 🤔
FYI, other websites like WhatsApp Web produces notifications correctly in Chrome. I have also tried creating a different user profile for Chrome so that it has a clean state without any extensions installed. No luck.
As a side note, the websites above work fine when tested on Firefox and Safari on the same machine.
What can I try next?
Fixed! The culprit was Google Chrome Helper (Alerts) under the MacOS > Notifications settings. That has to be enabled too. Not just Google Chrome.