SwPush breaks Angular on Safari - undefined is not an object (evaluating 'source.lift') #20407
Labels
area: service-worker
Issues related to the @angular/service-worker package
freq2: medium
type: bug/fix
I'm submitting a...
Current behavior
When
SwPush
is injected in any service/component Safari complains with:Expected behavior
SwPush should not break Safari build (ie code should be ignored when service worker is not available)
Minimal reproduction of the problem with instructions
Inject
SwPush
into service/component.Online example:
https://www.angular-universal-pwa.maciejtreder.com
github repo:
https://github.com/maciejtreder/angular-universal-pwa
Environment
The text was updated successfully, but these errors were encountered: