-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
Description
Environment
- Environment:
Staging(Pre-release) - Last git commit:
aaaaaa - Platform:
Web Desktop\Web Mobile\Electron\PWA\TWA - Browser:
Chrome\Edge\Firefox\Safari\Others
How to repro
Service worker can't be registered.

Expected situation
I expect that...
Other information
- This is because
navigator.serviceWorker.controlleris null when sw isn't registered. ButsupportWebPush()will return false when it's null, which blocks the sw to be registered. - It's improper to check
supportWebPushwhen registering sw, since sw provides many other functions, such as caching.
Reactions are currently unavailable