VCheck Dev 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) with dev/test environment. The plugin in the package itself uses dev dependencies of Android and iOS native 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_flutter_test: ^1.0.1

Start SDK flow

import 'package:vcheck_flutter_test/vcheck_flutter.dart';

//...

VCheckSDK.start(
          partnerId: PARTNER_ID,
          partnerSecret: PARTNER_SECRET,
          verifScheme: verificationScheme,
          languageCode: langCode,
          partnerEndCallback: partnerEndCallback());

Explication for required properties

Property Type Description
partnerId int Partner's service ID
partnerSecret String Partner's service secret
verifScheme VerificationSchemeType Verification scheme type
languageCode String 2-letter language code (Ex.: "en" ; implementation's default is "en")
partnerEndCallback Function Callback function which triggers on verification process and SDK flow finish

Optional properties for verification session's logic and UI customization

Property Type
partnerUserId String?
partnerVerificationId String?
sessionLifetime int?
colorBackgroundPrimary String?
colorBackgroundSecondary String?
colorBackgroundTertiary String?
colorActionButtons String?
colorTextPrimary String?
colorTextSecondary String?
colorBorders String?

Requesting final post-verification status in your app

After SDK pops back to your app, you can request the final verification status:

FinalVerificationStatus status = await VCheckSDK.checkFinalVerificationStatus();
if (status.isFinalizedAndSuccessful == true) {
  setState(() {
    _status = "Verification Successful!";
  });
}
if (status.isFinalizedAndFailed == true) {
  setState(() {
    _status = "Verification Failed!";
  });
}