Unico Check Flutter SDK

pub version Build Status license

The Unico Check Flutter SDK provides a wrapper for the native Unico Check SDKs (iOS and Android), enabling you to integrate liveness detection and document capture functionalities into your Flutter application.

Features

  • Selfie Capture: Supports different modes for capturing selfies.
    • Normal
    • Smart (with automatic capture)
    • Smart with a manual capture button
  • Document Capture: Capture various types of official documents.
    • CNH (Brazilian Driver's License) - Full, Front, and Verso
    • RG (Brazilian ID Card) - Front and Verso
    • CPF (Brazilian Individual Taxpayer Registry)
  • Customization:
    • Apply custom themes to match your app's branding.
    • Configure session timeouts.
  • Callbacks: Listen for success, error, and user action events.

Requirements

General

  • Flutter: >=1.20.0
  • Dart: >=2.15.0 <4.0.0

Android

  • minSdkVersion: 21
  • Kotlin Version: 1.8.22

iOS

  • Platform Version: 13.0 or higher
  • Swift Version: 5.4
  • Xcode: 16 or higher

Native Dependencies

This plugin is a wrapper around the native Unico SDKs. The versions used are:

  • Android: io.unico:capture
  • iOS: unicocheck-ios

Flutter Installation

First, you need to have Flutter installed on your machine. If you don't have it installed, please follow the official documentation for your operating system:

Flutter - Get Started

Installation

Add the unico_check dependency to your project's pubspec.yaml file:

dependencies:
  unico_check: ^4.40.0 # Use the latest version

Then, run flutter pub get to install the package.

Running the Example Project

To run the example project:

  1. Navigate to the example directory: cd example
  2. Install dependencies: flutter pub get
  3. Run the app: flutter run

For more details

For more details, check out our documentation. https://developer.unico.io/developers/sdks-and-tools/flutter/requirements

License

This project is licensed under the terms of the LICENSE file.

Libraries

unico_check