Skip to content

Commit 6034bad

Browse files
authored
Merge pull request mendix#10903 from nikolai-paramonov/off/846-clarify-text-about-service-worker-registration
[OFF-846]: Clarify text about service worker and HTTPS limitations
2 parents a7a5f27 + 355338d commit 6034bad

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

content/en/docs/refguide/mobile/introduction-to-mobile-technologies/progressive-web-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Within the navigation profiles the following PWA features can be configured:
3434

3535
{{< figure src="/attachments/refguide/mobile/progressive-web-app/settings.png" alt="PWA settings" width="350" class="no-border" >}}
3636

37-
To be able to fully test PWA functionalities, the app needs to be deployed to the cloud. This is because the service worker is only enabled in the cloud over HTTPS.
37+
To be able to fully test PWA functionalities, the app needs to be deployed to the cloud. This is because some PWA features are only available over HTTPS protocol. For more information, see [Accessing Device Features](#accessing-device-features) below.
3838

3939
### Publishing as a Progressive Web App
4040

@@ -130,7 +130,7 @@ Offline-first PWAs use an authentication token by default to keep the session ac
130130

131131
For more information on the session and authentication tokens, see [Session Management](/refguide/session-management/)
132132

133-
## Accessing Device Features
133+
## Accessing Device Features {#accessing-device-features}
134134

135135
Browsers offer access to device features through APIs that can be leveraged in PWAs. These device features can be used by available widgets and nanoflow actions. It is also possible to leverage additional device features by extending the platform using [JavaScript Actions](/refguide/javascript-actions/) or [Pluggable Widgets](/howto/extensibility/pluggable-widgets/).
136136

content/en/docs/refguide10/mobile/introduction-to-mobile-technologies/progressive-web-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Within the navigation profiles the following PWA features can be configured:
4444

4545
{{< figure src="/attachments/refguide10/mobile/progressive-web-app/settings.png" alt="PWA settings" width="350" class="no-border" >}}
4646

47-
To be able to fully test PWA functionalities, the app needs to be deployed to the cloud. This is because the service worker is only enabled in the cloud over HTTPS.
47+
To be able to fully test PWA functionalities, the app needs to be deployed to the cloud. This is because some PWA features are only available over HTTPS protocol. For more information, see [Accessing Device Features](#accessing-device-features) below.
4848

4949
### Publishing as a Progressive Web App
5050

@@ -148,7 +148,7 @@ Offline-first PWAs use long-lived sessions, which keep users logged in for a lon
148148

149149
For more information on sessions and how to customize the timeout, see the [Session Duration](/refguide10/tricky-custom-runtime-settings/#session-duration) section of the *Advanced Custom Settings in Mendix Runtime Reference Guide*.
150150

151-
## Accessing Device Features
151+
## Accessing Device Features {#accessing-device-features}
152152

153153
Browsers offer access to device features through APIs that can be leveraged in PWAs. These device features can be used by available widgets and nanoflow actions. It is also possible to leverage additional device features by extending the platform using [JavaScript Actions](/refguide10/javascript-actions/) or [Pluggable Widgets](/howto10/extensibility/pluggable-widgets/).
154154

content/en/docs/refguide9/mobile/introduction-to-mobile-technologies/progressive-web-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Within the navigation profiles the following PWA features can be configured:
3838

3939
{{< figure src="/attachments/refguide9/mobile/progressive-web-app/settings.png" alt="PWA settings" width="350" class="no-border" >}}
4040

41-
To be able to fully test PWA functionalities, the app needs to be deployed to the cloud. This is because the service worker is only enabled in the cloud over HTTPS.
41+
To be able to fully test PWA functionalities, the app needs to be deployed to the cloud. This is because some PWA features are only available over HTTPS protocol. For more information, see [Accessing Device Features](#accessing-device-features) below.
4242

4343
### Publishing as a Progressive Web App
4444

@@ -130,7 +130,7 @@ Offline-first PWAs use long-lived sessions, which keep users logged in for a lon
130130

131131
For more information on sessions and how to customize the timeout, see the [Session Duration](/refguide9/tricky-custom-runtime-settings/#session-duration) section of the *Advanced Custom Settings in Mendix Runtime Reference Guide*.
132132

133-
## Accessing Device Features
133+
## Accessing Device Features {#accessing-device-features}
134134

135135
Browsers offer access to device features through APIs that can be leveraged in PWAs. These device features can be used by available widgets and nanoflow actions. It is also possible to leverage additional device features by extending the platform using [JavaScript Actions](/refguide9/javascript-actions/) or [Pluggable Widgets](/howto9/extensibility/pluggable-widgets/).
136136

0 commit comments

Comments
 (0)