Skip to main content

resetPermissions

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Put permissions back to asking, so the app prompts again on next use. These call app_reset_permissions.

resetPermissions​

public void resetPermissions(String app)

Puts permissions back to asking. Naming an app resets only that app's, on both platforms; on Android that stops the app if it had a permission granted.

@param app the package name or bundle id; null to reset every app on the device

Examples​

Put one app's permissions back to their defaults​

device.resetPermissions("com.example.shop");