# Auto-grant Permissions

## Enable Auto-grant Permissions

Eliminate the hassle of manual permission grants. This feature ensures app [runtime permissions](https://source.android.com/docs/core/permissions/runtime_perms) are automatically handled for each session. Examples of runtime permissions include location, external storage, microphone, camera, and more. Simplify your users' journey.

<figure><img src="https://2147444700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJUveBCJfn0GR8-hlqi%2Fuploads%2Fgit-blob-c682e67d838511e8a3a00eb1680991b5e2f19019%2FScreenshot_1683885758.png?alt=media&#x26;token=d34163e8-b189-4878-a70b-c02441906ce7" alt="" width="188"><figcaption><p>Example runtime permission on Android</p></figcaption></figure>

### Supported permissions

{% tabs %}
{% tab title="Android" %}

| Permission    | Supported |
| ------------- | :-------: |
| Bluetooth     |     ✅     |
| Calendar      |     ✅     |
| Camera        |     ✅     |
| Contacts      |     ✅     |
| Location      |     ✅     |
| Media Library |     ✅     |
| Microphone    |     ✅     |
| Notifications |     ✅     |
| Phone         |     ✅     |
| Storage       |     ✅     |
| SMS           |     ✅     |
| {% endtab %}  |           |

{% tab title="iOS" %}

| Permission    | Supported |
| ------------- | :-------: |
| Bluetooth     |     ❌     |
| Calendar      |     ✅     |
| Camera        |     ✅     |
| Contacts      |     ✅     |
| Health        |     ❌     |
| HomeKit       |     ✅     |
| Location      |     ✅     |
| Media Library |     ✅     |
| Microphone    |     ✅     |
| Motion        |     ✅     |
| Notifications |     ❌     |
| Deep Links    |     ✅     |
| Photos        |     ✅     |
| Reminders     |     ✅     |
| Siri          |     ✅     |
| Speech        |     ❌     |
| UserTracking  |     ✅     |
| {% endtab %}  |           |
| {% endtabs %} |           |

### With Query Parameter

Add the `grantPermissions=true` query parameter to your app or embed URL.

```uri
&grantPermissions=true
```

See [Query Params Reference](https://docs.appetize.io/platform/query-params-reference#grantpermissions) for more information.

### With JavaScript SDK

Set `grantPermissions: true` in the configuration e.g.

```typescript
await client.setConfig({
    grantPermissions: true,
    ...
})
```

See [Configuration](https://docs.appetize.io/javascript-sdk/configuration#grantpermissions) for more information.
