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
- Download the native libraries from this Google Drive link.
Unzip to libs
Folder
-
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
-
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
- 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.