KonnectedScan
Getting started
- Add these lines to your pubspec.yaml file under dependencies
dependencies:
konnectedscan: ^1.3.17
-
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 konnectedscan = Konnectedscan();
await konnectedscan.init("your_apiKey", "your_appId");
EkycResult result = await konnectedscan.startDocumentScan(context, 0);
- For Android release apk, you will need to add this rule to your proguard file
-keep public class com.megvii.** {*;}
Native Implementation
You may checkout README-Android.md for Android and README-iOS.md