MeVerify Flutter Smart SDK

A powerful Flutter SDK for quickly onboarding users and performing KYC (Know Your Customer) and AML (Anti-Money Laundering) checks.

Features

  • ID Validation: Validate passport photographs and identity cards, including Passports, Driver's Licenses, and more.

Getting Started

Installation

Add the package to your application:

dependencies:
  meverify: <latest_version>

API Key Setup

  1. Get your API Key from MeVerify by following these three easy steps.
  2. Use your API Key to authenticate your requests.
  3. Review the MeVerify API Documentation for detailed guides and instructions.

iOS Configuration

To enable camera and microphone access, add the following keys to ios/Runner/Info.plist:

<key>NSCameraUsageDescription</key>
<string>Your usage description here</string>
<key>NSMicrophoneUsageDescription</key>
<string>Your usage description here</string>

Android Configuration

Update the minimum Android SDK version to 21 (or higher) in your android/app/build.gradle file:

minSdkVersion 21

Usage

ID Card Validation

To validate ID cards, use the following code:

final response = IdValidator(
  apiKey: "Your-meverify-live-or-sandbox-secret-key",
  profile: true,
  email: "johndoe@email.com",
  phonenumber: "0900000000",
  name: "John Doe",
  idNumber: "B0028",
);

Parameters

  • apiKey: Obtain your API Secret key from your MeVerify Profile. This field is required.
  • profile: Set to true if you want to create a profile for the user, saving the verification details for later checks or AML confirmation.
  • email: Optional. Required if profile is set to true.
  • phonenumber: Optional. Required if profile is set to true.
  • name: Required. The name expected on the ID card.
  • idNumber: Required. The unique identity number expected to be on the ID card.

Passport Photograph Validation

To validate passport photographs, use the following code:

final response = PassportValidator(
  apiKey: "Your-meverify-live-or-sandbox-secret-key",
  profile: true,
  email: "johndoe@email.com",
  phonenumber: "0900000000",
);

Parameters

  • apiKey: Obtain your API Secret key from your MeVerify Profile. This field is required.
  • profile: Set to true if you want to create a profile for the user, saving the verification details for later checks or AML confirmation.
  • email: Optional. Required if profile is set to true.
  • phonenumber: Optional. Required if profile is set to true.

Additional Information

For more information, visit MeVerify to explore our solutions and SDKs.