Web Push Notifications In Chrome
I have created web push notifications and they work in Firefox ok (service worker is registered, subscription created, subscription data stored, using subscription data notificatio
Solution 1:
A assume you have a development domain with no https. Google Chrome only sends notifications when running with configured SSL.
How to bypass: For local development you can launch Chrome with the unsafely-treat-insecure-origin-as-secure
option.
open -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--args \
--user-data-dir=$HOME \
--unsafely-treat-insecure-origin-as-secure=http://your-insecure-domain.dev \
Post a Comment for "Web Push Notifications In Chrome"