|
|
@ -29,8 +29,8 @@ from the SERVICE. |
|
|
|
The SERVICE will provide context and obtain explicit permission before prompting |
|
|
|
for notification permission: |
|
|
|
|
|
|
|
In order to provide this context and explict permission a two-step opt-in process |
|
|
|
where the user is first presented with a pre-permission dialog box that explains |
|
|
|
In order to provide this context and explicit permission, a two-step opt-in process |
|
|
|
first presents the user with a pre-permission dialog box that explains |
|
|
|
what the notifications are for and why they are useful. This may help reduce the |
|
|
|
possibility of users clicking "don't allow". |
|
|
|
|
|
|
@ -91,7 +91,7 @@ The `sw.js` file contains the logic for what a service worker should do. |
|
|
|
It executes in a separate thread of execution from the web page but provides a |
|
|
|
means of communicating between itself and the web page via messages. |
|
|
|
|
|
|
|
Note that there is a scope can specify what network requests it may |
|
|
|
Note that there is a scope that can specify what network requests it may |
|
|
|
intercept. |
|
|
|
|
|
|
|
The Vue project already has its own service worker but it is possible to |
|
|
|