# Introduction

To automatically record a trip when the application runs in background, the DriveKit SDK must be allowed to access the phone's sensors.

Access to this data is allowed by iOS and Android under certain conditions. It is essential to inform the user and ask him to grant the required permissions to allow the application to access the data measured by the smartphone's sensors.

To help you collect consent from your users, the DriveKit SDK provides a graphical component, Permissions Utils, which displays the appropriate requests after the installation of the application.

<figure><img src="/files/Xa8KGSzeLf93Ci9VzB3g" alt=""><figcaption><p>Onboarding screens</p></figcaption></figure>

The Permissions Utils component also contains a diagnosis functionality that alerts the user if the smartphone settings are not properly set up and guides the user to solve the detected issue.

<figure><img src="/files/QKRsFeDldpWEvZXuHnVg" alt=""><figcaption><p>Diagnostic screens</p></figcaption></figure>

{% hint style="info" %}
We recommend you to test this component in the [DriveKit Demo App](/master.md#the-drivekit-demo-app) before you integrate it in your application.
{% endhint %}

<br>


---

# 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.drivequant.com/permissions-utils/introduction.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.
