> For the complete documentation index, see [llms.txt](https://docs.appetize.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appetize.io/features/auto-grant-permissions.md).

# 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="/files/m8QEOLpgX5vKw0lulVaf" 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](/platform/query-params-reference.md#grantpermissions) for more information.

### With JavaScript SDK

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

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

See [Configuration](/javascript-sdk/configuration.md#grantpermissions) for more information.
