VCheck for Flutter
VCheck is online remote verification service for fast and secure customer access to your services.
This package represents VCheck SDK for Flutter(iOS, Android). The native plugins in the package itself use dependencies of Android and iOS SDKs channeled to Flutter SDK.
Features
- Document validity: Country and document type identification. Checks for forgery and interference (glare, covers, third-party objects)
- Document data recognition: The data of the loaded document is automatically parsed
- Liveliness check: Determining that a real person is being verified
- Face matching: Validate that the document owner is the user being verified
- Easy integration to your service's Flutter app out-of-the-box
How to use
Add dependency
vcheck: ^1.4.10
Start SDK flow
import 'package:vcheck_test/vcheck.dart';
//...
VCheckSDK.start(
verificationToken: verifToken,
verificationScheme: verifScheme,
languageCode: "en",
environment: VCheckEnvironment.DEV,
partnerEndCallback: onFlutterSDKFlowFinished(),
onVerificationExpired: onVerificationExpired()
designConfig: designConfig ?? null);
Explication for required properties
Property | Type | Description |
---|---|---|
verificationToken | String | Valid token of recently created VCheck Verification |
verificationScheme | VerificationSchemeType | Verification scheme type |
languageCode | String | 2-letter language code (Ex.: "en" ; implementation's default is "en") |
environment | VCheckEnvironment | VCheck service environment (dev/partner) |
partnerEndCallback | Function | Callback function which triggers on verification process and SDK flow finish |
onVerificationExpired | Function | Callback function which triggers when current verification goes to expired state |
Optional properties for verification session's logic and UI customization
Property | Type | Description |
---|---|---|
designConfig | String? | JSON string with specific fixed set of color properties, which can be obtained as a VCheck portal user |
showCloseSDKButton | bool? | Should 'Return to Partner' button be shown |
showPartnerLogo | bool? | Should VCheck logo be shown |