App Permission
Overview
Section titled “Overview”Manage runtime permissions for an installed app. Grant permissions to skip dialogs during testing, or revoke them to test permission-denied flows.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
packageName | string | Yes | — | Application package name |
permission | string | Yes | — | Full permission name (e.g., android.permission.CAMERA) |
action | "grant" | "revoke" | Yes | — | Whether to grant or revoke |
deviceId | string | No | — | Target device serial |
Examples
Section titled “Examples”Grant camera permission to com.example.myapp
Revoke location permission from com.example.myapp
Grant android.permission.RECORD_AUDIO to com.example.myapp
Related Tools
Section titled “Related Tools”- List Permissions — See current permission state
- Clear App Data — Reset “Don’t ask again” state