revoke
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Deny an app's permissions, to test how it behaves without them. These call app_revoke.
revoke
public void revoke(String app, String... permissions)
Denies permissions, to test how the app behaves without them.
@param app the package name (Android) or bundle id (iOS)
@param permissions cross-platform names such as "camera", "all", or platform names
Examples
Deny a permission, to test the app without it
device.revoke("com.example.shop", "location");