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
In a new (non-incognito!) session, load the site and subscribe to notifications by clicking the bell icon in the bottom right corner
Send a new notification from the OneSignal dashboard
Observe a notification with "This site has been updated in the background" payload instead of the intended message
Next steps
Delaying the OneSignal initialization, as described here, has worked – but only if OneSignal was initialized well after the PWA Service Worker has been installed & activated. In my testing, a delay of 10s worked, but in production this should be solved by waiting for the SW activation event.
The text was updated successfully, but these errors were encountered:
Describe the bug
Both PWA and OneSignal plugins register their Service Workers, which are in conflict.
This is a known issue (link, link), which is not caused by Newspack. But it can perhaps be solved by this plugin.
To Reproduce
Next steps
Delaying the OneSignal initialization, as described here, has worked – but only if OneSignal was initialized well after the PWA Service Worker has been installed & activated. In my testing, a delay of 10s worked, but in production this should be solved by waiting for the SW activation event.
The text was updated successfully, but these errors were encountered: