peach permissions
Read the installed-app permission registry or set and reset one app permission through the typed simulator bridge. Changes are immediately visible to guest permission APIs and the Settings app.
peach permissions list [--json]
peach permissions get <app-id> [--json]
peach permissions set <app-id> <kind> <status> [options]
peach permissions reset <app-id> [kind] [--json]Options
| Flag | Description |
|---|---|
--once | make an authorized grant expire when the app closes |
--accuracy <value> | full or reduced location accuracy |
--json | emit structured JSON |
--sim <id> | target a specific connected sim |
Examples
peach permissions list
peach permissions get dock-8081 --json
peach permissions set dock-8081 camera denied
peach permissions set dock-8081 photo-library limited
peach permissions reset dock-8081 camera