Flutter SmartFace Plugin Installation Guide

This guide outlines the necessary steps to get the SmartFace Flutter plugin up and running on your Android device.

Table of Contents

Download Native Libraries

  1. Download the native libraries from this Google Drive link.

Unzip to libs Folder

  1. After downloading the libs.zip file, unzip it.

    unzip path/to/downloaded/libs.zip -d path/to/flutter_project/android/
    

Modify android/app/build.gradle

  1. Open your android/build.gradle file and add the following lines inside it:

    project(':flutter_smartface') {
        ext.libsDir = rootProject.file('libs')
    }
    

    Make sure to sync your project after adding this line.

Get Credentials

  1. To complete the setup, you'll need specific credentials for the SmartFace service. Please contact the support team to obtain these credentials.

Congratulations, you've successfully set up the SmartFace Flutter plugin for Android! If you encounter any issues, please refer to the troubleshooting section or contact support.