Skip to content

Commit cd85695

Browse files
committed
resolve question
1 parent aeabf27 commit cd85695

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/en/docs/refguide/mobile/introduction-to-mobile-technologies/service-worker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ The browser detects this update and initiates a new lifecycle for the updated se
5959

6060
## Detecting and Handling Updates in Your PWA
6161

62-
The [ServiceWorkerRegistration](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration) interface provides properties and methods to monitor its state and detect updates. In Mendix 11.9.0 and above, a Client API ____ is available to skip the waiting phase and immediately activate the new service worker version.
62+
The [ServiceWorkerRegistration](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration) interface provides properties and methods to monitor its state and detect updates. In Mendix 11.9.0 and above, a Client API [method](https://apidocs.rnd.mendix.com/11/client-mx-api/module-mx-api_pwa.html) is available to skip the waiting phase and immediately activate the new service worker version: `SkipWaiting()`.
6363

64-
You can implement a custom update mechanism to notify users when a new version is available. This allows them to update the application without closing all tabs or windows:
64+
With `SkipWaiting()`, you can implement a custom update mechanism to notify users when a new version is available. This allows them to update the application without closing all tabs or windows:
6565

6666
1. **Listen for service worker updates** — Create a JavaScript Action to listen for service worker updates. This action should run when your application starts up, for example, calling the JavaScript action via nanoflow that triggers by [Events](/appstore/widgets/events/) widget:
6767

0 commit comments

Comments
 (0)