Skip to content

Release 151300

Compare
Choose a tag to compare
@jkasten2 jkasten2 released this 19 Feb 22:17
bf67efb

Removed ServiceWorker Page Control Requirement

  • No longer have to visit a page that is in OneSignal's ServiceWorker scope to subscribe for push. - PR #745
    • Addresses compatibility with other ServiceWorkers, such as PWAs.
  • OneSignal's ServiceWorker default scope is still root "/", this is to prevent any possible breaking changes of existing setups.
  • OneSignal's ServiceWorker scope can be customized to be non-root to take advantage of this change.
    • ⚠️ Warning: Existing subscribers won't move over to the new ServiceWorker scope automatically if you customize it. This is being addressed in a future update with more details on how to transition smoothly.