Skip to content

Commit 301e2fe

Browse files
committed
Publish docs version 20.x
1 parent 992fb39 commit 301e2fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/versioned_docs/version-20.x/config/devices.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The format of Detox config allows you to define inside it multiple device config
4040
},
4141
"utilBinaryPaths": [
4242
"optional-property-with/path/to/test-butler-or-anything-else.apk"
43-
]
43+
],
4444
}
4545
```
4646

@@ -87,3 +87,4 @@ A device config can have the following params:
8787
| `gpuMode` | _Optional. String Literal (<code>auto \| host \| swiftshader\_indirect \| angle\_indirect \| guest</code>). Supported by `android.emulator` only._ <br/> A fixed **string** , which tells [in which GPU mode](https://developer.android.com/studio/run/emulator-acceleration#command-gpu) the emulator should be booted. |
8888
| `headless` | _Optional. Boolean._ `false` by default. When set to `true`, it tells Detox to boot an Android emulator with `-no-window` option, or to not open the iOS Simulator app when running with Android or iOS respectively. |
8989
| `readonly` | _Optional. Boolean. Supported by `android.emulator` only._ <br/> `false` by default. When set to `true`, it forces Detox to boot even a single emulator with `-read-only` option.<br/>**Note**: when used with multiple workers, this setting has no effect — emulators will be booted always with `-read-only`. |
90+
| `systemUI` | _Optional. String or Object. Supported by Android devices only._ <br/> Configures the Android System UI for consistent screenshots and test stability. Can be set to `"minimal"` or `"genymotion"` (preset configurations) or an object with granular control. When using an object, you can set `extends: "minimal"` or `extends: "genymotion"` to start from a preset and override specific properties. All properties accept `null` to explicitly reset to default behavior. <br/><br/>**Object properties:**<br/>- `keyboard`: `'hide'` \| `'show'` \| `null` - Controls keyboard visibility. Note: For `'hide'` to work in Google emulators, set `hw.keyboard=yes` in AVD configuration.<br/>- `touches`: `'hide'` \| `'show'` \| `null` - Controls touch indicator visibility.<br/>- `pointerLocationBar`: `'hide'` \| `'show'` \| `null` - Controls pointer location bar visibility.<br/>- `navigationMode`: `'3-button'` \| `'gesture'` \| `null` - Sets navigation bar mode.<br/>- `statusBar`: Object with the following properties:<br/> - `notifications`: `'show'` \| `'hide'` \| `null` - Controls notification icons visibility.<br/> - `wifiSignal`: `'strong'` \| `'weak'` \| `'none'` \| `null` - Sets WiFi signal strength indicator.<br/> - `cellSignal`: `'strong'` \| `'weak'` \| `'none'` \| `null` - Sets cellular signal strength indicator. Note: Some Android versions fail to set the network type (3g, lte, etc.).<br/> - `batteryLevel`: `'full'` \| `'half'` \| `'low'` \| `null` - Sets battery level indicator.<br/> - `charging`: `true` \| `false` \| `null` - Controls charging indicator.<br/> - `clock`: `string` \| `null` - Sets the clock time in "hhmm" format (e.g., `"1337"` for 13:37). |

0 commit comments

Comments
 (0)