flutter_smartface 0.0.3 copy "flutter_smartface: ^0.0.3" to clipboard
flutter_smartface: ^0.0.3 copied to clipboard

outdated

A new SFaceApp FFI plugin project.

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 jniLibs Folder #

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

    unzip path/to/downloaded/jniLibs.zip -d path/to/flutter_project/android/app/src/main/
    

    This will place the .so files in the jniLibs directory under android/app/src/main/.

Modify android/app/build.gradle #

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

    sourceSets {
        main {
            jniLibs.srcDirs += 'src/main/jniLibs'
        }
    }
    

    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.