You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Supported on Android emulator/device and iOS simulator.
419
421
- iOS physical devices currently return `UNSUPPORTED_OPERATION` for clipboard commands.
420
422
423
+
Keyboard:
424
+
-`keyboard status` (or `keyboard get`) reports Android keyboard visibility and best-effort input type classification (`text`, `number`, `email`, `phone`, `password`, `datetime`).
425
+
-`keyboard dismiss` issues Android back keyevent only when keyboard is visible, then verifies hidden state.
426
+
- Works with an active session device or explicit selectors (`--platform`, `--device`, `--udid`, `--serial`).
427
+
- Supported on Android emulator/device.
428
+
421
429
## Debug
422
430
423
431
-**App logs (token-efficient):** Logging is off by default in normal flows. Enable it on demand when debugging. With an active session, run `logs path` to get path + state metadata (e.g. `<state-dir>/sessions/<session>/app.log`). Run `logs start` to stream app output to that file; use `logs stop` to stop. Run `logs clear` to truncate `app.log` (and remove rotated `app.log.N` files) before a new repro window. Run `logs doctor` for tool/runtime checks and `logs mark "step"` to insert timeline markers. Grep the file when you need to inspect errors (e.g. `grep -n "Error\|Exception" <path>`) instead of pulling full logs into context. Supported on iOS simulator, iOS physical device, and Android.
- Use `fill` for clear-then-type semantics; use `type` for focused append typing.
170
172
- iOS `appstate` is session-scoped; Android `appstate` is live foreground state.
171
173
- Clipboard helpers: `clipboard read` / `clipboard write <text>` are supported on Android and iOS simulators; iOS physical devices are not supported yet.
174
+
- Android keyboard helpers: `keyboard status|get|dismiss` report keyboard visibility/type and dismiss via keyevent when visible.
172
175
-`network dump` is best-effort and parses HTTP(s) entries from the session app log file.
173
176
- Biometric settings: iOS simulator supports `settings faceid|touchid <match|nonmatch|enroll|unenroll>`; Android supports `settings fingerprint <match|nonmatch>` where runtime tooling is available.
174
177
- For AndroidTV/tvOS selection, always pair `--target` with `--platform` (`ios`, `android`, or `apple` alias); target-only selection is invalid.
0 commit comments