> For the complete documentation index, see [llms.txt](https://docs.recognito.vision/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.recognito.vision/face-liveness-detection-sdk/integration-guide/flutter/sample-application.md).

# Sample Application

{% embed url="<https://www.youtube.com/watch?v=9HM70PFa4lQ>" %}
NIST FRVT #1 Face Recognition, Liveness Detection Mobile SDK Demo
{% endembed %}

***

## Build Project

### - Download

* [**FaceRecognition-Flutter-main.zip**](https://www.dropbox.com/scl/fi/ylrp7q8qpet8e02mwtzui/FaceRecognition-Flutter-main.zip?rlkey=426bp3t0c0ekg5sq3k1ekodkt\&st=2w9kk1w9\&dl=0)

### - Setting Up SDK License Key

* Add license:

{% code title="main.dart" lineNumbers="true" %}

```dart
if (Platform.isAndroid) {
    await _facesdkPlugin.setActivation(
        "EO5wcxhdMXJoLRpKq3Lexv2sTHPU8Ehed3vsBwmzdye/MJw+rVJTnY9SidD3vKV/2YNE6kufwIcC"
        "7LvLGFSORk3b14swPe7415aYSLKNI2RaUL5Nfn9oWHBjW1XehQLjLUx3w0Qi8bUth6vyg9Oaj7V7"
        "+dKruxjx/2dD2ddXKBoiIwYDonjW7gx7PmF9W66DXDtfRGpARvKW5Cn+jSCCH8A3Gft8wOBdQXM8"
        "UTDZUZxNbvozkgV6Dw9hMQJSka06iFK1h/UO6NrGLudt1SOC2b3hfoFJcAVjl3W7UTxzVyByJpLp"
        "tYTWJNr36pn1ixWhazLHC4s4TXtyQR67yzN3aw==")
    .then((value) => facepluginState = value ?? -1);
} else {
    await _facesdkPlugin.setActivation(
        "H/Fs6Zgbsi9av6VVDAi54yqpYxnq0eDV3MSZAxMnARvUVePNY85UJu3d95nM7iO2RrCm19/eq+qb"
        "gSDmhJRYVJBMEUcxG+0cPPWVAW7m46dfS1Kpn+Flqbanfbco+Hd9Uda3aAzDkklzgdfYt7TvSXRt"
        "LZ8wW7jLiPjt8Lufj1GvhRzfESARv18VrxfQV+U8x3EqqvfKTJrkkg91NuAKvUZSoao4B5pQLpRd"
        "GwQ/saP9AQSWuyU1Zw+Whw/cnmXY2xZLGx6n/ict3NW9vpttv2tBbPCe/TdofRuJbE7R1Yb60BvQ"
        "ajzoaQWx3RsRgca9ah+Pccxb15tPVzr1apTK7A==")
    .then((value) => facepluginState = value ?? -1);
}
```

{% endcode %}

* Build Project.

```bash
flutter pub get
flutter run
```

***

## Application UI

<div><figure><img src="/files/jGuNuRDga2c4QnDsDdaz" alt=""><figcaption></figcaption></figure> <figure><img src="/files/tdXFr34AIpk2rhS6IGuK" alt=""><figcaption></figcaption></figure> <figure><img src="/files/uLOLbY0893owYQtCNN3A" alt=""><figcaption></figcaption></figure> <figure><img src="/files/ghDaUvVcX5HfkE2CB4Nt" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Mv2RxbjrmZd3rwI9Ez8b" alt=""><figcaption></figcaption></figure> <figure><img src="/files/oJEIK3rZY8RUYq7i7c0q" alt=""><figcaption></figcaption></figure></div>


---

# 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://docs.recognito.vision/face-liveness-detection-sdk/integration-guide/flutter/sample-application.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.
