Make sure that the service worker is served from the root of your website (e.g.Disable any ad blocker that may be blocking the requests to Pushpad (although Pushpad doesn't send advertising and doesn't track your users, some ad blockers include all the push services in the annoyance list).Open the console from the browser developer tools and see if there are any errors there.Near the address bar click the lock and ensure that you have Notifications: ask (or Notifications: allow) Ensure that you haven't blocked notifications.If you are just testing you can use localhost, which doesn't require an SSL certificate. In order to use Pushpad, your website must be served over HTTPS (otherwise you will get the error "Only secure origins are allowed").
0 Comments
Leave a Reply. |