# Installation Guide

### Minimum Requirements

* Jetpack Library: AndroidX
* Java Version: 11
* API Level: 24 or higher (Android 7.1)
* Compile SDK: 31 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 %}

```groovy
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:

```groovy
implementation 'com.vidv:VIDVLivenessSDK:$LATEST_VERSION
```

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