Face Recognition SDK for Flutter
One Flutter plugin for both Android and iOS: on-device enrollment, live 1:N identification, oval-guided capture, and 2D liveness — no biometric data ever reaches FacePlugin's cloud.
What You Need to Run It on Flutter
These are the exact minimum and recommended requirements published in the FaceRecognition-LivenessDetection-Flutter repository — check the repo directly for the latest version, since SDK requirements can change between releases.
minSdk 24, arm64-v8a / Android 10 or newer recommendedInstall and Activate
Install the SDK, then activate it with a license key before calling any recognition function — every platform follows this same activate-then-initialize pattern.
- Clone the repository next to your app and add it as a path dependency for
face_recognition_sdkinpubspec.yaml, then runflutter pub get. - Copy the native runtimes from the Android and iOS release pages:
facerecognitionsdk.aarinto your app’sandroid/libfacesdk/, and the iOS frameworks into the plugin’sios/Frameworks/, then runpod install. - Set your own
applicationId/ bundle ID, request a license for them, and add the camera and photo-library permissions.
Flutter Integration Notes
Specifics from the Flutter package README: toolchain versions, where native files go, and how activation behaves during development.
Toolchain
Flutter 3.19 or newer, plus Android Studio and, on macOS, Xcode 15 or newer. Android needs minSdk 24 and arm64-v8a; iOS needs 15.0 and an arm64 device.
iOS frameworks go in ios/Frameworks/
Place the device-arm64 frameworks in ios/Frameworks/, then run cd example/ios && pod install. Simulator slices are not shipped.
Rebuild after changing the key
Activation happens once at start-up, so a hot reload is not enough. demoLicense() picks the Android or iOS key at runtime, so set both.
One-command runs
With a physical phone connected, python run_android.py (or python run_ios.py on macOS) places the runtime and starts the example app.
Live 1:N on the camera feed
For identification on live video use startVideoWorker, syncVideoWorkerDatabase and applyLiveFrame. Licensing calls are getMachineCode, setActivation, init and getLicenseStatus.
Prefer to stay native? The Android and iOS SDKs use the same engine without the Dart layer.
How Licensing Works
The Flutter plugin code itself is released under the MIT license. The underlying SDK runtime still needs an offline license key bound to your application ID or bundle ID — the demo app’s keys only work for its own demo IDs, so contact FacePlugin for a key scoped to your app.
Frequently Asked Questions
Does the Flutter SDK send biometric data to the cloud?
No. Every stage of face recognition runs on your own server or directly on the device, depending on the platform – biometric templates never leave an environment you control.
How is the SDK licensed?
Licenses are offline and bound to the Android applicationId and iOS bundle id you ship. Contact FacePlugin with both identifiers to receive keys, then pass them to the engine at start-up. There are no per-call or per-match fees once licensed.
Where can I see the full source and open an issue?
The FaceRecognition-LivenessDetection-Flutter integration is maintained publicly on GitHub at github.com/Faceplugin-ltd, where you can browse the code, file issues, and track releases.
Ready to Add Face Recognition to Your Flutter App?
Talk to our team to get a license key and a 15-day evaluation period started.