Tutorials

Fingerprint SDK: a complete guide to implementing the feature

Biometrics has become one of the leading tools for authentication and security in modern applications. In this context, the BioPass ID Fingerprint SDK stands out as a robust, innovative, and versatile solution for capturing fingerprints on mobile devices using only the rear camera of a smartphone.

Unlike traditional solutions that rely on specialized hardware, the Fingerprint SDK uses the phone's camera as a high-precision biometric scanner. This eliminates the need for additional devices and ensures high-quality captures with a more accessible and efficient process.

With advanced biometric processing and validation algorithms, the software delivers a fast and reliable experience. Moreover, it is compatible with multiple platforms, including Android, iOS, Flutter, and React Native, enabling seamless integration without compromising system security. In this guide, we’ll provide a detailed step-by-step tutorial for implementing the BioPass ID Fingerprint SDK in various projects.

Stay tuned!

What is BioPass ID's Fingerprint SDK

The BioPass ID Fingerprint SDK leverages advanced algorithms to enhance the quality of images captured by smartphone cameras. It also enables businesses and developers to easily integrate a fingerprint recognition system into applications. Some examples include:

  • Financial sector: secure client authentication in banking apps.
  • Healthcare: biometric validation for accessing medical histories and electronic health records.
  • Government Institutions: citizen identification for issuing official documents.

The BioPass ID Fingerprint SDK is highly customizable and can be tailored to meet the needs of various industries. Additionally, it offers specialized technical support to assist developers throughout every stage of the integration process.

Key features of the Fingerprint SDK

The Fingerprint SDK offers a robust set of features designed to deliver precision, efficiency, and flexibility. These include:

Advanced capture and processing

  • Ensures detailed images with high-resolution capture, enabling reliable recognition.
  • Automatically adjusts contrast and sharpness to maintain quality even in challenging lighting or capture conditions.

Easy integration

  • Provides compatibility with multiple platforms, such as React Native, Flutter, Android, and iOS, allowing use across various systems and devices.
  • Offers clear and practical documentation, including ready-to-use examples and detailed guidance to streamline the integration process.

Customizable interface

  • Allows customization of components to maintain the application's visual identity and ensure a consistent user experience.

Benefits of the Fingerprint SDK for businesses

When combined with other features, such as the Multibiometrics API Package and the Quality Package, the Fingerprint SDK becomes a critical component in combating fraud. Key advantages include:

  • Accuracy in biometric verification: with advanced algorithms, the software minimizes errors in user identification and authentication.
  • Enhanced user experience: the SDK's precise biometric collection makes authentication faster and more efficient.

With these benefits, companies across various industries can strengthen process security and protect their systems against fraud.

Examples of applications for the BioPass ID Fingerprint SDK

The feature offers advanced solutions. However, to ensure a fully reliable, practical and efficient process, it is necessary to integrate the Fingerprint SDK with other technologies.

Physical and digital access control

In corporate environments, access control ensures that employees move only where necessary. By combining the Fingerprint SDK with a matching API, it is possible to securely manage the entry and exit of individuals.

🎯 Use case: access to restricted areas without the need for badges or manual authentication.

Identity validation

In the financial sector, biometric authentication protects sensitive data and prevents fraud. The Fingerprint SDK, combined with the Multibiometrics API, allows clients to securely access apps, authorize payments, and perform financial transactions.

🎯 Use case: digital signature with biometric confirmation and ATM access without physical cards.

User identification

In healthcare, biometrics help ensure precise identification of individuals, reducing administrative errors and preventing fraud. The Fingerprint SDK, paired with the Quality API, enables reliable biometric authentication.

🎯 Use case: secure patient identification for authorizing medical exams and hospital admissions.

Complete Implementation of the BioPass ID Fingerprint SDK in 4 Steps

The Fingerprint SDK includes detailed documentation, making it easy to quickly integrate the feature into your application. Check out more details below:

1. Prerequisites

Development environment:

  • Java: Version 17 or higher
  • Kotlin: Version 1.9.0 or higher
  • Gradle: Version 8.6 or higher
  • Android Gradle Plugin: Version 8.4.0 or higher

Physical device: requires a real device with a camera. Not compatible with emulators.

License key: a license key is required for use. Access the BioPass ID dashboard to request one.

Internet connection: an active internet connection is necessary for license verification.

2. Project configuration

Add dependencies:
In the app/build.gradle file of your project, include the following dependencies:

dependencies {

    implementation 'com.biopassid:dlibwrapper:1.0.0'

    implementation 'androidx.camera:camera-core:1.3.4'

    implementation 'androidx.camera:camera-camera2:1.3.4'

    implementation 'androidx.camera:camera-lifecycle:1.3.4'

    implementation 'androidx.camera:camera-view:1.3.4'

    implementation 'com.biopassid:fingerprintsdk:2.1.1' // Versão mais recente

}

Configure Repositories:

In the settings.gradle file, add the PackageCloud repository:

repositories { 

maven { 

url "https://packagecloud.io/biopassid/dlibwrapper/maven2" 

maven { url "https://packagecloud.io/biopassid/FingerprintSDKAndroid/maven2" } }

Set the minimum SDK Version:

Still in the app/build.gradle file, adjust the minimum SDK version to 24 or higher:

android {

 ... 

defaultConfig {

 ... 

minSdkVersion 24

 ... }

 ... 

}

3. SDK Initialization

After configuring the project, initialize the SDK in your code:

Import the SDK:

import com.biopassid.fingerprint.FingerprintSDK

Initialize with the license key:

In the onCreate method of the main Activity, add the following:

Inicialize com a chave de licença:

No método onCreate da Activity principal, adicione:

override fun onCreate(savedInstanceState: Bundle?) {

     super.onCreate(savedInstanceState)

     ...

    FingerprintSDK.initialize(this, "SUA_CHAVE_DE_LICENÇA")

    …

}

Replace "your-license-key" with the key obtained from the platform:

4. Fingerprint capture

You can capture the fingerprint by following these steps:

Implement the listener:

Create a class that implements:

FingerprintCaptureListener:

class FingerprintCaptureHandler : FingerprintCaptureListener {

    override fun onCaptureSuccess(fingerprintBitmap: Bitmap) {

        // Manipule a imagem capturada

    }

     override fun onCaptureError(error: String) {

        // Handle capture errors

    }

}

Start the capture:

In your code, call the capture method:

val captureHandler = FingerprintCaptureHandler()

FingerprintSDK.startCapture(captureHandler)

Done! The fingerprint capture will be complete.

Secure applications with the BioPass ID Fingerprint SDK

In conclusion, biometric authentication is one of the most secure ways to protect access and prevent fraud. By transforming a smartphone's camera into a biometric scanner, the BioPass ID Fingerprint SDK offers a practical, reliable, and efficient method for capturing fingerprints. The integration process is simple and compatible with various platforms. Specialized technical support and customizable components ensure that the solution adapts seamlessly to your business needs.

Looking for an accessible, high-performance solution for biometric authentication? You can talk to one of our specialists or purchase the solution directly here.

Don't miss out on our updates!

Subscribe to BioPass ID's newsletter and stay up-to-date with the world of biometrics and technology.

Thanks! We received your message!
Oops! Algo deu errado no envio do formulário.
Tente novamente em instantes.