# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appetize.io/features/auto-grant-permissions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
