mobium grant
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Grant permissions so no dialog blocks the flow
Grant up front and the first-launch permission dialog never appears.
Names are cross-platform: all, bluetooth, calendar, camera, contacts, location, location-always, media-library, microphone, motion, notifications, phone, photos, photos-add, reminders, siri, sms. A platform name such as android.permission.CAMERA also works.
On Android the result is verified by reading the state back, because
pm grant reports success for permissions the app never declared.
Usage
mobium grant <app> <permission...> [flags]
Examples
Grant two permissions before a flow
mobium grant com.example.shop camera location
More, from mobium grant --help
mobium grant com.example.shop all
mobium grant com.example.shop camera microphone
mobium grant com.example.shop android.permission.NFC
No screenshot: it changes what an app may do, not what is on the screen; the next dialog that does not appear is the evidence.
The tool
grant calls app_grant; its arguments and what every client calls it are there.