biopassid_face_sdk 3.0.0 copy "biopassid_face_sdk: ^3.0.0" to clipboard
biopassid_face_sdk: ^3.0.0 copied to clipboard

BioPass ID Face SDK Flutter plugin.

BioPass ID

BioPass ID Face SDK Flutter

Flutter Pub Instagram BioPass ID Contact us

Key FeaturesCustomizationsQuick Start GuidePrerequisitesInstallationHow to useLicenseKeyFaceConfigSomething elseChangelogSupport

Key features #

  • Face Detection
    • We ensure that there will be only one face in the capture.
  • Face Positioning
    • Ensure face position in your capture for better enroll and match.
  • Auto Capture
    • When a face is detected the capture will be performed in how many seconds you configure.
  • Resolution Control
    • Configure the image size thinking about the tradeoff between image quality and API's response time.
  • Aspect Ratio Control
  • Fully customizable interface

Customizations #

Increase the security of your applications without harming your user experience.

All customization available:

  • Title Text
  • Help Text
  • Loading Text
  • Font Family
  • Face Frame
  • Overlay
  • Default Camera
  • Capture button

Enable or disable components:

  • Tittle text
  • Help Text
  • Capture button
  • Button icons
  • Flip Camera button
  • Flash button

Change all colors:

  • Overlay color and opacity
  • Capture button color
  • Capture button text color
  • Flip Camera color
  • Flash Button color
  • Text colors

Quick Start Guide #

First, you will need a license key to use the biopassid_face_sdk. To get your license key contact us through our website BioPass ID. #

Check out our official documentation for more in depth information on BioPass ID.

1. Prerequisites: #

Android iOS
Support SDK 24+ iOS 14+
- A device with a camera
- License key
- Internet connection is required to verify the license

2. Installation #

First, add biopassid_face_sdk as a dependency in your pubspec.yaml file.

Android #

Change the minimum Android sdk version to 24 (or higher) in your android/app/build.gradle file.

minSdkVersion 24

iOS #

Requires iOS 14.0 or higher.

Add to the ios/Info.plist:

  • the key Privacy - Camera Usage Description and a usage description.

If editing Info.plist as text, add:

<key>NSCameraUsageDescription</key>
<string>Your camera usage description</string>

Then go into your project's ios folder and run pod install.

# Go into ios folder
$ cd ios

# Install dependencies
$ pod install

3. How to use #

Basic Example #

To call Face in your Flutter project is as easy as follow:

import 'package:flutter/material.dart';
import 'package:biopassid_face_sdk/biopassid_face_sdk.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Face Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  late FaceController controller;

  @override
  void initState() {
    super.initState();
    final config = FaceConfig(licenseKey: 'your-license-key');
    controller = FaceController(
      config: config,
      onFaceCapture: (Uint8List image) {
        print('Image: $image');
      },
    );
  }

  void takeFace() async {
    await controller.takeFace();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Face Demo'),
      ),
      body: Center(
        child: ElevatedButton(
          onPressed: takeFace,
          child: const Text('Capture Face'),
        ),
      ),
    );
  }
}

Example using http package to call the BioPass ID API #

For this example we used the Enroll from the Multibiometrics plan.

First, add the http package. To install the http package, add it to the dependencies section of the pubspec.yaml file. You can find the latest version of the http package the pub.dev.

dependencies:
  http: <latest_version>

Additionally, in your AndroidManifest.xml file, add the Internet permission.

<!-- Required to fetch data from the internet. -->
<uses-permission android:name="android.permission.INTERNET" />

Here, you will need an API key to be able to make requests to the BioPass ID API. To get your API key contact us through our website BioPass ID.

import 'dart:convert';

import 'package:biopassid_face_sdk/biopassid_face_sdk.dart';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Face Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  late FaceController controller;

  @override
  void initState() {
    super.initState();
    // Instantiate FaceConfig and FaceController by passing your license key
    final config = FaceConfig(licenseKey: 'your-license-key');
    controller = FaceController(config: config, onFaceCapture: onFaceCapture);
  }

  // Handle Face capture
  void onFaceCapture(Uint8List image) async {
    // Encode image to base64 string
    final imageBase64 = base64Encode(image);

    // Create url
    final url = Uri.https('api.biopassid.com', 'multibiometrics/enroll');

    // Create headers passing your api key
    final headers = {
      'Content-Type': 'application/json',
      'Ocp-Apim-Subscription-Key': 'your-api-key'
    };

    // Create json body
    final body = json.encode({
      'Person': {
        'CustomID': 'your-customID',
        'Face': [
          {'Face-1': imageBase64}
        ]
      }
    });

    // Execute request to BioPass ID API
    final response = await http.post(
      url,
      headers: headers,
      body: body,
    );

    // Handle API response
    print('Response status: ${response.statusCode}');
    print('Response body: ${response.body}');
  }

  void takeFace() async {
    await controller.takeFace();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Face Demo'),
      ),
      body: Center(
        child: ElevatedButton(
          onPressed: takeFace,
          child: const Text('Capture Face'),
        ),
      ),
    );
  }
}

4. LicenseKey #

First, you will need a license key to use the biopassid_face_sdk. To get your license key contact us through our website BioPass ID. #

To use biopassid_face_sdk you need a license key. To set the license key needed is simple as setting another attribute. Simply doing:

final config = FaceConfig(licenseKey: 'your-license-key');

5. Getting face capture #

You can pass a function callback to receive the captured image. You can write you own callback following this example:

void onFaceCapture(Uint8List image) {
  print('Image: $image');
}

void takeFace() async {
  final config = FaceConfig(licenseKey: 'your-license-key');
  final controller = FaceController(config: config, onFaceCapture: onFaceCapture);
  await controller.takeFace();
}

6. Continuous capture #

You can use continuous capture to capture multiple frames at once. In addition, you can set a maximum number of frames to be captured using maxNumberFrames. As well as the capture time with timeToCapture. Use continuous capture is as simple as setting another attribute. Simply by doing:

final config = FaceConfig(licenseKey: 'your-license-key');
config.continuousCapture.enabled = true
config.continuousCapture.timeToCapture = 1000 // capture every frame per second, time in millisecond
config.continuousCapture.maxNumberFrames = 40

7. Face detection #

With Face SDK you can use face detection to do face detection and automatic capture. Below you can see the options that are available for this functionality.

Auto capture #

For automatic capture to work, autoCapture needs to be enabled. By default, autoCapture is already enabled. If autoCapture is disabled, automatic capture will be disabled and the responsibility for capturing will be the user's responsibility through a button. For continuous capture, autoCapture will be ignored and automatic capture will always occur. To set autoCapture is simple as setting another attribute. Simply doing:

final config = FaceConfig(licenseKey: 'your-license-key');
config.faceDetection.enabled = true
config.faceDetection.autoCapture = true;

Time to capture #

TimeToCapture is a time in milliseconds that is triggered before the capture. To use timeToCapture, autoCapture needs to be on and a time in milliseconds needs to be passed to timeToCapture. By default, timeToCapture value is 3000ms. If timeToCapture is equal to zero, the capture will be instantaneous. To set timeToCapture is simple as setting another attribute. Simply doing:

final config = FaceConfig(licenseKey: 'your-license-key');
config.faceDetection.enabled = true
config.faceDetection.autoCapture = true
config.faceDetection.timeToCapture = 3000; // time in millisecond

Max face detection time #

You can use maxFaceDetectionTime to set a maximum time in milliseconds that face detection will be active. If after this time the SDK is unable to identify a face, face detection will be disabled and a capture button will be displayed, thus passing the capture responsibility to the user. The time will only start counting after a first detection attempt. By default, the value of maxFaceDetectionTime is 40000 ms. This functionality only affects single capture mode. Setting maxFaceDetectionTime is as simple as setting another attribute. Simply by doing:

final config = FaceConfig(licenseKey: 'your-license-key');
config.faceDetection.enabled = true
config.faceDetection.maxFaceDetectionTime = 40000; // time in millisecond

Score Threshold #

Minimum trust score for a detection to be considered valid. Must be a number between 0 and 1, which 0.1 would be a lower face detection trust level and 0.9 would be a higher trust level. Default: 0.7. Simply by doing:

final config = FaceConfig(licenseKey: 'your-license-key');
config.faceDetection.enabled = true
config.faceDetection.scoreThreshold = 0.7;

FaceConfig #

You can also use pre-build configurations on your application, so you can automatically start using multiples services and features that better suit your application. You can instantiate each one and use it's default properties, or if you prefer you can change every config available. Here are the types that are supported right now:

FaceConfig #

Name Type Default value
licenseKey String ''
resolutionPreset FaceResolutionPreset FaceResolutionPreset.medium
lensDirection FaceCameraLensDirection FaceCameraLensDirection.front
imageFormat FaceImageFormat FaceImageFormat.jpeg
flashEnabled bool false
fontFamily String 'facesdk_opensans_bold'
continuousCapture FaceContinuousCaptureOptions
faceDetection FaceDetectionOptions
mask FaceMaskOptions
titleText FaceTextOptions
loadingText FaceTextOptions
helpText FaceTextOptions
feedbackText FaceFeedbackTextOptions
backButton FaceButtonOptions
flashButton FaceFlashButtonOptions
switchCameraButton FaceButtonOptions
captureButton FaceButtonOptions

Default configs:

final defaultConfig = FaceConfig(
  licenseKey: '',
  resolutionPreset: FaceResolutionPreset.medium,
  lensDirection: FaceCameraLensDirection.front,
  imageFormat: FaceImageFormat.jpeg,
  flashEnabled: false,
  fontFamily: 'facesdk_opensans_bold',
  continuousCapture: FaceContinuousCaptureOptions(
    enabled: false,
    timeToCapture: 1000,
    maxNumberFrames: 40,
  ),
  faceDetection: FaceDetectionOptions(
    enabled: true,
    autoCapture: true,
    multipleFacesEnabled: false,
    timeToCapture: 3000,
    maxFaceDetectionTime: 40000,
    scoreThreshold: 0.7,
  ),
  mask: FaceMaskOptions(
    enabled: true,
    type: FaceMaskFormat.face,
    backgroundColor: const Color(0xCC000000),
    frameColor: const Color(0xFFFFFFFF),
    frameEnabledColor: const Color(0xFF16AC81),
    frameErrorColor: const Color(0xFFE25353),
  ),
  titleText: FaceTextOptions(
    enabled: true,
    content: 'Capturando Face',
    textColor: const Color(0xFFFFFFFF),
    textSize: 20,
  ),
  loadingText: FaceTextOptions(
    enabled: true,
    content: 'Processando...',
    textColor: const Color(0xFFFFFFFF),
    textSize: 14,
  ),
  helpText: FaceTextOptions(
    enabled: true,
    content: 'Encaixe seu rosto no formato acima',
    textColor: const Color(0xFFFFFFFF),
    textSize: 14,
  ),
  feedbackText: FaceFeedbackTextOptions(
    enabled: true,
    messages: FaceFeedbackTextMessages(
      noFaceDetectedMessage: 'Nenhuma face detectada',
      multipleFacesDetectedMessage: 'Múltiplas faces detectadas',
      detectedFaceIsCenteredMessage: 'Mantenha o celular parado',
      detectedFaceIsTooCloseMessage: 'Afaste o rosto da câmera',
      detectedFaceIsTooFarMessage: 'Aproxime o rosto da câmera',
      detectedFaceIsOnTheLeftMessage: 'Mova o celular para a direita',
      detectedFaceIsOnTheRightMessage: 'Mova o celular para a esquerda',
      detectedFaceIsTooUpMessage: 'Mova o celular para baixo',
      detectedFaceIsTooDownMessage: 'Mova o celular para cima',
    ),
    textColor: const Color(0xFFFFFFFF),
    textSize: 14,
  ),
  backButton: FaceButtonOptions(
    enabled: true,
    backgroundColor: const Color(0x00000000),
    buttonPadding: 0,
    buttonSize: const Size(56, 56),
    iconOptions: FaceIconOptions(
      enabled: true,
      iconFile: 'facesdk_ic_close',
      iconColor: const Color(0xFFFFFFFF),
      iconSize: const Size(32, 32),
    ),
    labelOptions: FaceTextOptions(
      enabled: false,
      content: 'Voltar',
      textColor: const Color(0xFFFFFFFF),
      textSize: 14,
    ),
  ),
  flashButton: FaceFlashButtonOptions(
    enabled: false,
    backgroundColor: const Color(0xFFFFFFFF),
    buttonPadding: 0,
    buttonSize: const Size(56, 56),
    flashOnIconOptions: FaceIconOptions(
      enabled: true,
      iconFile: 'facesdk_ic_flash_on',
      iconColor: const Color(0xFFFFCC01),
      iconSize: const Size(32, 32),
    ),
    flashOnLabelOptions: FaceTextOptions(
      enabled: false,
      content: 'Flash On',
      textColor: const Color(0xFF323232),
      textSize: 14,
    ),
    flashOffIconOptions: FaceIconOptions(
      enabled: true,
      iconFile: 'facesdk_ic_flash_off',
      iconColor: const Color(0xFF323232),
      iconSize: const Size(32, 32),
    ),
    flashOffLabelOptions: FaceTextOptions(
      enabled: false,
      content: 'Flash Off',
      textColor: const Color(0xFF323232),
      textSize: 14,
    ),
  ),
  switchCameraButton: FaceButtonOptions(
    enabled: true,
    backgroundColor: const Color(0xFFFFFFFF),
    buttonPadding: 0,
    buttonSize: const Size(56, 56),
    iconOptions: FaceIconOptions(
      enabled: true,
      iconFile: 'facesdk_ic_switch_camera',
      iconColor: const Color(0xFF323232),
      iconSize: const Size(32, 32),
    ),
    labelOptions: FaceTextOptions(
      enabled: false,
      content: 'Trocar Câmera',
      textColor: const Color(0xFF323232),
      textSize: 14,
    ),
  ),
  captureButton: FaceButtonOptions(
    enabled: true,
    backgroundColor: const Color(0xFFFFFFFF),
    buttonPadding: 0,
    buttonSize: const Size(56, 56),
    iconOptions: FaceIconOptions(
      enabled: true,
      iconFile: 'facesdk_ic_capture',
      iconColor: const Color(0xFF323232),
      iconSize: const Size(32, 32),
    ),
    labelOptions: FaceTextOptions(
      enabled: false,
      content: 'Capturar',
      textColor: const Color(0xFF323232),
      textSize: 14,
    ),
  ),
);

FaceContinuousCaptureOptions #

Name Type Default value
enabled bool false
timeToCapture int 1000 // time in milliseconds
maxNumberFrames int 40

FaceDetectionOptions #

Name Type Default value
enabled bool true
autoCapture bool true
multipleFacesEnabled bool false
timeToCapture int 3000 // time in milliseconds
maxFaceDetectionTime int 40000 // time in milliseconds
scoreThreshold double 0.7

FaceMaskOptions #

Name Type Default value
enabled bool true
type FaceMaskFormat FaceMaskFormat.face
backgroundColor Color Color(0xCC000000)
frameColor Color Color(0xFFFFFFFF)
frameEnabledColor Color Color(0xFF16AC81)
frameErrorColor Color Color(0xFFE25353)

FaceFeedbackTextOptions #

Name Type Default value
enabled bool true
messages FaceFeedbackTextMessages FaceFeedbackTextMessages()
textColor Color Color(0xFFFFFFFF)
textSize int 14

FaceFeedbackTextMessages #

Name Type Default value
noFaceDetectedMessage String 'Nenhuma face detectada'
multipleFacesDetectedMessage String 'Múltiplas faces detectadas'
detectedFaceIsCenteredMessage String 'Mantenha o celular parado'
detectedFaceIsTooCloseMessage String 'Afaste o rosto da câmera'
detectedFaceIsTooFarMessage String 'Aproxime o rosto da câmera'
detectedFaceIsOnTheLeftMessage String 'Mova o celular para a direita'
detectedFaceIsOnTheRightMessage String 'Mova o celular para a esquerda'
detectedFaceIsTooUpMessage String 'Mova o celular para baixo'
detectedFaceIsTooDownMessage String 'Mova o celular para cima'

FaceFlashButtonOptions #

Name Type Default value
enabled bool true
backgroundColor Color Color(0xFFFFFFFF)
buttonPadding int 0
buttonSize Size Size(56, 56)
flashOnIconOptions FaceIconOptions
flashOnLabelOptions FaceTextOptions
flashOffIconOptions FaceIconOptions
flashOffLabelOptions FaceTextOptions

FaceButtonOptions #

Name Type Default value
enabled bool true
backgroundColor Color Color(0xFFFFFFFF)
buttonPadding int 0
buttonSize Size Size(56, 56)
iconOptions FaceIconOptions
labelOptions FaceTextOptions

FaceIconOptions #

Name Type Default value
enabled bool true
iconFile String 'facesdk_ic_close'
iconColor Color Color(0xFF323232)
iconSize Size Size(32, 32)

FaceTextOptions #

Name Type Default value
enabled bool true
content String ''
textColor Color Color(0xFF323232)
textSize int 14

FaceCameraLensDirection (enum) #

Name
FaceCameraLensDirection.front
FaceCameraLensDirection.back

FaceImageFormat (enum) #

Name
FaceImageFormat.jpeg
FaceImageFormat.png

FaceMaskFormat (enum) #

Name
FaceScreenShape.face
FaceScreenShape.square
FaceScreenShape.ellipse

FaceResolutionPreset (enum) #

Name Resolution
FaceResolutionPreset.low 240p (352x288 on iOS, 320x240 on Android)
FaceResolutionPreset.medium 480p (640x480 on iOS, 720x480 on Android)
FaceResolutionPreset.high 720p (1280x720)
FaceResolutionPreset.veryhigh 1080p (1920x1080)
FaceResolutionPreset.ultrahigh 2160p (3840x2160)
FaceResolutionPreset.max The highest resolution available

How to change font family #

on Android side #

You can use the default font family or set one of your own. To set a font family, create a folder font under res directory in your android/app/src/main/res. Download the font which ever you want and paste it inside font folder. All font file names must be only: lowercase a-z, 0-9, or underscore. The structure should be some thing like below.

on iOS side #

To add the font files to your Xcode project:

  1. In Xcode, select the Project navigator.
  2. Drag your fonts from a Finder window into your project. This copies the fonts to your project.
  3. Select the font or folder with the fonts, and verify that the files show their target membership checked for your app’s targets.

Then, add the "Fonts provided by application" key to your app’s Info.plist file. For the key’s value, provide an array of strings containing the relative paths to any added font files.

In the following example, the font file is inside the fonts directory, so you use fonts/roboto_mono_bold_italic.ttf as the string value in the Info.plist file.

on Dart side #

Finally, just set the font family passing the name of the font file when instantiating FaceConfig in your Flutter app.

final config = FaceConfig(
  licenseKey: 'your-license-key',
  fontFamily: 'roboto_mono_bold_italic',
);

How to change icon #

on Android side #

You can use the default icons or define one of your own. To set a icon, download the icon which ever you want and paste it inside drawable folder in your android/app/src/main/res. All icon file names must be only: lowercase a-z, 0-9, or underscore. The structure should be some thing like below.

on iOS side #

To add icon files to your Xcode project:

  1. In the Project navigator, select an asset catalog: a file with a .xcassets file extension.
  2. Drag an image from the Finder to the outline view. A new image set appears in the outline view, and the image asset appears in a well in the detail area.

on Dart side #

Finally, just set the icon passing the name of the icon file when instantiating FaceConfig in your Flutter app.

final config = FaceConfig(licenseKey: 'your-license-key');
// Changing back button icon
config.backButton.iconOptions.iconFile = 'ic_baseline_camera';
// Changing switch camera button icon
config.switchCameraButton.iconOptions.iconFile = 'ic_baseline_camera';
// Changing capture button icon
config.captureButton.iconOptions.iconFile = 'ic_baseline_camera';
// Changing flash button icon
config.flashButton.flashOnIconOptions.iconFile = 'ic_baseline_camera';
config.flashButton.flashOffIconOptions.iconFile = 'ic_baseline_camera';

Something else #

Do you like the Face SDK and would you like to know about our other products? We have solutions for fingerprint detection and digital signature capture.

Changelog #

v3.0.0 #

  • Documentation update;
  • Changed the minimum Android sdk version from 21 to 24, see installation section;
  • Removed faceDetectionDisabledMessage from FaceFeedbackTextMessages;
  • Renamed FaceMaskFormat.ellipsis to FaceMaskFormat.ellipse;
  • Added new score threshold functionality to FaceDetectionOptions:
    • Minimum trust score for a detection to be considered valid. Must be a number between 0 and 1, which 0.1 would be a lower face detection trust level and 0.9 would be a higher trust level. Default: 0.7.

v2.1.6 #

  • Documentation update;
  • Bug fixes on Android.

v2.1.5 #

  • Documentation update;
  • Reverted change in facial proximity calculation on Android.

v2.1.4 #

  • Documentation update;
  • Fixed a bug that caused crash when perform multiple switch camera click requests simultaneously on Android;
  • Improved facial proximity calculation on Android.

v2.1.3 #

  • Documentation update;
  • Fixing bug that caused crash when clicking the back button while capturing the photo on Android.

v2.1.2 #

  • Documentation update;
  • Fixed a bug that caused the captured image to be different from the camera preview image on some devices.

v2.1.1 #

  • Documentation update;
  • Fixed a bug that left the face shape stretched on some devices.

v2.1.0 #

  • Documentation update;
  • Added screen brightness adjustment functionality during frontal captures.

v2.0.4 #

  • Documentation update;
  • Facial detection adjustment for Android.

v2.0.3 #

  • Documentation update;
  • Layout fixes for Android.

v2.0.2 #

  • Documentation update.

v2.0.1 #

  • Documentation update;
  • Bug fix in license functionality for Android;
  • Face detection improvements for Android;
  • Bug fix in camera preview for Android.

v2.0.0 #

  • Documentation update;
  • Refactoring in FaceConfig;
  • Refactoring in UI customization functionality.

v1.2.1 #

  • Documentation update;
  • Bug fix in maxFaceDetectionTime for Android.

v1.2.0 #

  • Documentation update;
  • Refactoring on autoCaptureTimeout:
    • Now the autoCaptureTimeout is called timeToCapture.
  • New feature maxFaceDetectionTime:
    • It is now possible to set a maximum time that face detection will be active.

v1.1.1 #

  • Documentation update.

v1.1.0 #

  • New feature maxNumberFrames:
    • It is now possible to set a maximum number of frames to be captured during continuous capture.
  • Documentation update.

v1.0.1 #

  • Documentation update;
  • Fixed a bug that caused the camera preview image to be stretched during continuous capture for Android;
  • Improved license functionality for iOS.

v1.0.0 #

  • Documentation update;
  • FaceCameraPreset Refactoring;
  • Fix autoCaptute and autoCaptuteTimeout for iOS;
  • Fix CustomFonts feature for iOS.

v0.1.23 #

  • Documentation update;
  • New config option autoCaptureTimeout;
  • UI customization improvements:
    • Added FaceScreenShape with more face shape options;
    • Added progress animation during face detection.

v0.1.22 #

  • Bug fixes;
  • Documentation update.

v0.1.21 #

  • Bug fixes.

v0.1.20 #

  • New licensing feature.

v0.1.19 #

  • Bug fixes.

v0.1.18 #

  • Bug fixes;
  • Flash mode fixes;
  • Face detection improvement;
  • New feature automatic capture;
  • UI customization improvements;
  • New feature face detection;
  • Camera preset fix;
  • Camera preview fix;
  • New icon capture button;
  • Fix in requesting permissions;
  • Fix in performance of ContinuousCapture;
  • Parameterizable screenTitle;
  • New option to set text color;
  • New custom capture button;
  • Class name standardization;
  • New option to set the font.

v0.1.13 #

  • Removing API Integration;
  • New CaptureFormat configuration.

v0.1.12 #

  • Refactoring enroll and update person;
  • Addition of delete and verify person;
  • Added loading message during capture.

v0.1.11 #

  • Adding error handling for devices that don't have a camera;
  • Adding error handling for when there are no cameras available for the camera position chosen during setup;
  • Addition of enroll and update person.

v0.1.10 #

  • Update package name;
  • Fix base url;
  • Fix face shape.

v0.1.9 #

  • Configuration and Integration with BioPassID SDK Android and iOS v0.1.9;
  • New flashButtonEnabledColor attribute in BioPassIDStyles.

v0.1.8 #

  • Configuration and Integration with BioPassID SDK iOS v0.1.8;
  • Configuration and Integration with BioPassID SDK Android v0.1.8;
  • Implemented spoof on liveness (Android);
  • Bug fixes.

v0.1.7 #

  • Configuration and Integration with BioPassID SDK Android v0.1.7;
  • Configuration and Integration with BioPassID SDK iOS v0.1.7;
  • Add liveness detection config;
  • Implemented spoof on liveness (iOS);
  • Bug fixes.

v0.1.6 #

  • Configuration and Integration with BioPassID SDK iOS v0.1.6;
  • Configuration and Integration with BioPassID SDK Android v0.1.6;
  • An apiKey for each BioPassID plan;
  • New way to set apiKey.

v0.1.5 #

  • Configuration and integration with BioPassID SDK Android v0.1.5;
  • Add face detection config;
  • ICAO, Spoofing and APIKey variables added to config;
  • BioPassIDEvent modified to return photo and response from ICAO and Spoofing endpoints.