NexID
Getting started
- Add these lines to your pubspec.yaml file under dependencies
dependencies:
nexid: ^1.5.3
-
Methods
- init - init SDK with your registered account
- startDocumentScan - start document scan activity
- supported documents (0 - IC reader, 1 - Passport reader)
- startLiveness
- supported liveness type ("still", "meglive", "flash")
-
Example
final nexID = NexID();
await nexID.initSDK("your_apiKey", "your_appId");
EkycResult result = await nexID.startDocumentScan(context, 0);
- For Android release apk, you will need to add this rule to your proguard file
-keep public class com.megvii.** {*;}
-keep public class com.nexstream.** {*;}
Native Implementation
You may checkout README-Android.md for Android and README-iOS.md
Release package
run script deploy.sh