Installating the SDK

Ensure you have Flutter installed and set up in your environment. For installation instructions, visit the Flutter Installation Guide.

Installation

Step 1: Clone the Repository

Clone the Face Liveness Flutter bridge repository into your project:

git clone https://github.com/combateafraude/FaceLivenessFlutter

Place the cloned folder (FaceLivenessFlutter) within your project's directory structure.


Step 2: Add the Bridge as a Dependency

Update your pubspec.yaml file to include the FaceLivenessFlutter dependencies. For example:

dependencies:
  flutter:
    sdk: flutter

  caf_face_liveness:
    path: ../face_liveness

Adjust the path to match the location of the face_liveness package relative to your project.

A pubspec.yaml sample can be seen in the Caf's FaceLiveness Flutter Repository

Last updated

Logo

2023 © Caf. - All rights reserved