Installation Guide

Development Environment Prerequisites

Your development environment must meet the following prerequisites:

  • Have the Flutter Developer SDK installed.

The capture component provided through the Flutter SDK supports the following versions or higher for the technologies:

  • Android: 5.0 (API 21);

  • iOS: 11.

Compatible Devices

This SDK does not work on emulators, only on physical devices.

iOS Devices::

  • iOS: It is compatible with almost all devices running iOS 11.

You can check the list of compatible devices on Apple’s official support channels.

Android Devices:

  • It is compatible with the vast majority of devices running Android 5.0 (API level 21) or higher.

The following table lists the devices tested in the lab, along with the availability of vendor/manufacturer extensions. Some extensions listed may be subject to specific manufacturer APIs or SKUs. Click below to see the tested devices:

Installing the Flutter SDK

To implement the Flutter SDK from the Unico IDCloud platform into your Flutter app, follow the step-by-step guide listed below:

1

Using the Flutter CLI

To add the Unico Check Flutter SDK to your project, run the following command using the Flutter CLI:

This command adds the following line to the pubspec.yaml file of your package:

Manually fetching packages: The flutter pub add unico_check command implicitly runs flutter pub get. If the package is not installed correctly, make sure that unico_check is listed in your pubspec.yaml file and run flutter pub get manually.

2

Permissions for Camera and Internet Usage

To use the camera opening method in your project, you need to add the permissions before compiling your application. Here’s an example:

3

Including the Dependency

After configuring the Android SDK, simply import it into your project. To do this, import the package in your Dart code:

4

Obtaining the Credentials

  • Contact the CSs and/or Onboarding team.

  • Request the SDK Key by providing the identifiers of your applications: Bundle Identifier and TeamId for iOS and/or PackageID and SHA-256 for Android.

  • The identifiers of your applications will be linked to the SDK Key by the Unico team.

  • You will receive your SDK Key to implement the AcessoBioConfigDataSource.

5

Embedding the Credentials in Your Project

To embed the SDK Key into the project, implement the AcessoBioConfigDataSource protocol in your class:

Deprecated Method - Dart

Done. After completing the SDK installation, proceed to the implementation by reading the following material:

Last updated

Was this helpful?