githubEdit

setPermissions

Set permissions for an installed application.

Used for configuring permissions of an application. This is done by default by launchApp, but might be useful at other times in the flow (e.g. before a deeplink).

To set all permissions for the app under test:

- setPermissions:
    permissions:
      all: allow

To set select permissions for a different app:

- setPermissions:
    appId: com.example.app
    permissions:
      camera: allow
      notifications: deny

You can read more about configuring permissions here.

Permissions Setup for iOS and Android Appschevron-right

Last updated

Was this helpful?