If you are only using parts of the Mobsted platform^ such as App Saving Widgets and want to have your own Service Workers done right. Please read on the Following:
Table of Contents |
---|
DO NOT directly follow the Firebase tech docs. The issue:
Firebase has the following official documentation:
...
Placing the SAME scope into manifest will obviously only work, if such page is created on a website, and only on THIS very page. On any other url on the site we get:
...
Use the following solution to avoid issues above:
- Register the SW in site’s manually (so NOT using SDK):
...