facetec_flutter_plugin_demo: ^0.0.2 copied to clipboard
Flutter plugin for FaceTec SDK. This is a demo plugin to show how connection can be established with the FaceTec SDK from a Flutter application. For full version of the plugin send an email to plugins
FaceTec SDK Flutter Plugin Demo #
This plugin provides easy access to the FaceTec SDK from a Flutter app using the Android or iOS platform. This plugin is created by SnapCommute Labs Pvt. Ltd. This plugin contains limited functionality. For full version of the plugin please send an email request to email@example.com. The full version has functionalities for enrollment, authentication, IDScan etc. as well as full customization options available through FaceTec SDK.
Note: This is only a demo plugin with minimum functionality and currently this plugin works with Device SDK verion 8.12.0 #
Download the complete code to a local folder and add the below in pubspec.yaml of the project you want to add the plugin
facetec_flutter_plugin_demo: path: ../
As provided in the example app, update your device key identifier provided in the FaceTec developer website.
File copy and modification #
Since the FaceTec SDK files are large, it is not included in Flutter Pub folder. Please visit FaceTec Developer Website (dev.facetec.com) and download the sdk files and copy the relevant file to the root folder of this plugin.
For Android, there will be a .aar file inside the downloaded zip file (like zoom-authentication-
Image files also needs to copied for the latest SDK to work properly. For Android copy the drawable-nodpi folder available in the sample app provided along with the android sdk download. For iOS copy the Assets.xcassets folder available in the sample app provided along with the iOS sdk download. Ensure you delete confilicting images like app icon etc.
Fos iOS, add the 'NSCameraUsageDescription' in info.plist for the camera permission screen to appear.
Functions available in the plugin #
FacetecFlutterPluginDemo.initialize("ADD YOUR KEY HERE");
Getting Started with Flutter #
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.