> For the complete documentation index, see [llms.txt](https://valify.gitbook.io/valify-ios-sdk-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://valify.gitbook.io/valify-ios-sdk-documentation/dockit/android-native-sdk/installation-guide.md).

# Installation Guide

### Minimum Requirements

* Jetpack Library: AndroidX
* Java Version: 11
* API Level: 21 or higher (Android 5.0)
* Compile SDK: 32 or higher
* Camera access is mandatory (NOTE : The SDK handles permission requests, so you don't need to implement them in your app).

### Installation

Open the file `Gradle Scripts | settings.gradle (Project Settings)` and add the following in **dependencyResolutionManagement** section in **repositories** :

{% hint style="info" %}
Note : You **don't** have to do this step if you did it before while integrating another valify SDK in the same project.
{% endhint %}

{% hint style="warning" %}
Note : The credentials here are **NOT** placeholders (Leave them as they are) .
{% endhint %}

```java
dependencyResolutionManagement {
    repositories {
         maven {
              credentials {
                   username “sdk”
                   password “sdk123456”
                     }
                url “https://www.valifystage.com/artifactory/libs-release/”
               }

          maven { url "https://jitpack.io" }
          maven { url 'https://developer.huawei.com/repo/' }
          
     }
}
```

### SDK Dependancy

Open the file `Gradle Scripts | build.gradle (Module: app)` and add the following to the `dependencies` section:

```java
implementation 'com.vidv:vidvdockitsdk:$LATEST_VERSION'

```

{% hint style="info" %}
Note: Latest Version: 1.2.8
{% endhint %}

> This version includes the Google 16KB fix.

Add the following line in your Application Manifest (AndroidManifest.xml) inside application tag:

```java
<application
       tools:replace="android:allowBackup"
       ...>
       </application>
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://valify.gitbook.io/valify-ios-sdk-documentation/dockit/android-native-sdk/installation-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
