# Installation Guide

### iOS **Minimum Requirements**

* iOS Version: 12
* Xcode Version: 15
* Camera access is mandatory

### Android **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**

Add the following package in your project's pupspec.yaml file to get the plugin and run pup get command.

```
dependencies:
  flutter:
    sdk: flutter
  vidvliveness_flutter_plugin: ^1.1.6   # Update with the latest version
```

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

#### iOS Project

In info.plist add the following permissions:

* Required: “NSCameraUsageDescription”
* Optional: “NSLocationWhenInUseUsageDescription” **Only if you’re willing to use “collect\_user\_info” option**

#### Android Project

Location access needs to be granted if you’re welling to use “collect\_user\_info” option to collect the user's geolocation and timezone.


---

# 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://valify.gitbook.io/valify-ios-sdk-documentation/biometrics/flutter-plugin/installation-guide.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.
