You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only thing to note is you have to put the OneSignalSDKWorker.js file under a sub folder like /push instead of root so it doesn't fight for control with the AMP Service Worker. You should also add the service-worker-scope setting to the amp-web-push tag and set it to /push .
The text was updated successfully, but these errors were encountered:
For the official AMP plugin, you should be able to manually set it up like a non-WP site by following this: https://documentation.onesignal.com/docs/amp-web-push-setup#how-to-set-up-web-push-on-amp-pages-non-wordpress
The only thing to note is you have to put the OneSignalSDKWorker.js file under a sub folder like
/push
instead of root so it doesn't fight for control with the AMP Service Worker. You should also add theservice-worker-scope
setting to theamp-web-push
tag and set it to/push
.The text was updated successfully, but these errors were encountered: