Skip to content

Commit f7f3131

Browse files
committed
edit
1 parent af6703e commit f7f3131

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

content/en/docs/refguide/mobile/distributing-mobile-apps/pwa-wrapper/pwa-wrapper-security.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ description: "Describes the network access and local filesystem scanning behavio
77

88
## Introduction
99

10-
This page describes two behaviors of PWA Wrapper that are relevant for security reviews and IT governance: what the extension downloads from the network during a build, and what local paths and environment variables it inspects to detect existing developer tool installations.
10+
This guide describes two behaviors of PWA Wrapper technology that are relevant for security reviews and IT governance: what the extension downloads from the network during a build, and what local paths and environment variables it inspects to detect existing developer tool installations.
1111

12-
This information is intended for security engineers, IT administrators, and other reviewers who need a precise account of what the extension does outside its own process boundary. It does not cover general build usage; for that, see [Build PWA Wrapper Apps](/refguide/mobile/distributing-mobile-apps/pwa-wrapper/build-pwa-wrapper-apps/).
12+
This information is intended for security engineers, IT administrators, and other reviewers who need a precise description of what the extension does outside its own process boundaries. It does not cover general build usage. For that, see [Build PWA Wrapper Apps](/refguide/mobile/distributing-mobile-apps/pwa-wrapper/build-pwa-wrapper-apps/).
1313

1414
## Network Downloads During Build
1515

16-
PWA Wrapper itself does not download anything when it is installed or when Studio Pro starts. Network access happens at build time, through platform-standard build tooling, not through custom code in the extension. The following two downloads can occur on the first build for each respective platform.
16+
PWA Wrapper itself does not download anything when it is installed or when Studio Pro starts. Network access happens at build time, through platform-standard build tooling, not through custom code in the extension. The two downloads described below can occur on the first build for each respective platform.
1717

1818
### Android: Gradle Wrapper Distribution
1919

@@ -33,7 +33,7 @@ To avoid this download in air-gapped environments, pre-populate the Gradle wrapp
3333

3434
## Bundled Binaries Executed Locally
3535

36-
In addition to the runtime downloads above, PWA Wrapper ships the following binaries inside its own extension package. These are not downloaded at build timethey are included in the extension at install time and are invoked as local subprocesses during Android and HarmonyOS build, signing, and packaging steps. They run with the same operating-system privileges as the Studio Pro process.
36+
In addition to the runtime downloads above, PWA Wrapper ships the following binaries inside its own extension package. These are not downloaded at build timethey are included in the extension at install time and are invoked as local subprocesses during Android and HarmonyOS build, signing, and packaging steps. They run with the same operating-system privileges as the Studio Pro process.
3737

3838
| Binary | Purpose | Platform |
3939
| --- | --- | --- |
@@ -53,7 +53,7 @@ When the builder opens, PWA Wrapper inspects the local machine to auto-detect ex
5353

5454
PWA Wrapper needs a Java runtime to execute the build tools listed above. It searches for an installed JDK in the following order and uses the first usable result it finds.
5555

56-
**On macOS:**
56+
### macOS Method
5757

5858
| Step | Method |
5959
| --- | --- |
@@ -62,22 +62,24 @@ PWA Wrapper needs a Java runtime to execute the build tools listed above. It sea
6262
| 3 | Resolve `java` on the shell `PATH` (equivalent to `which java`) |
6363
| 4 | Scan `/Library/Java/JavaVirtualMachines/` — the standard directory where installers such as Adoptium/Temurin, Oracle, and Azul place JDKs |
6464

65-
**On Windows:**
65+
### Windows Method
6666

6767
On Windows, JDK discovery does not scan directories. Instead it reads the output of `mx show-java-version` and inspects the Mendix Studio Pro settings database (`Settings.sqlite`) to find the JDK path configured in Studio Pro.
6868

6969
If no usable JDK is found, the build fails with an error that instructs the user to install a JDK from [Adoptium](https://adoptium.net) or set `JAVA_HOME` manually. PWA Wrapper does not download a JDK on the user's behalf.
7070

7171
### Mendix Studio Pro Discovery
7272

73-
PWA Wrapper needs to locate the Mendix Studio Pro installation to access the runtime and SDK files it uses during the build.
73+
PWA Wrapper needs to locate the Mendix Studio Pro installation to access the runtime and SDK files it uses during the build:
7474

75-
**On macOS:** The extension scans `/Applications/` and `~/Applications/` for app bundles whose names match "Mendix Studio Pro" or "Studio Pro". Among all matches that contain a valid `runtime/` subdirectory, it selects the one with the highest version number.
75+
* macOS The extension scans `/Applications/` and `~/Applications/` for app bundles whose names match "Mendix Studio Pro" or "Studio Pro". Among all matches that contain a valid `runtime/` subdirectory, it selects the one with the highest version number.
7676

77-
**On Windows:** Auto-detection is not performed. The Studio Pro path must be provided explicitly via a CLI argument, a `.env` file, or a `.launch` file.
77+
* Windows Auto-detection is not performed. The Studio Pro path must be provided explicitly via a CLI argument, a `.env` file, or a `.launch` file.
7878

7979
## Summary for Reviewers
8080

81+
Consult the following summary for information at a glance:
82+
8183
| Category | What happens | When | Data leaves machine? |
8284
| --- | --- | --- | --- |
8385
| Gradle distribution download | Downloads `gradle-8.9-bin.zip` from `services.gradle.org` | First Android build only | No (download only; no data sent) |

0 commit comments

Comments
 (0)