Integrate the Biometric Sensor SDK
  • 04 Dec 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Integrate the Biometric Sensor SDK

  • Dark
    Light
  • PDF

Article summary

Android

The following procedure allows you to integrate and use the OneSpan Biometric Sensor SDK in your Android project.

To use the OneSpan Biometric Sensor SDK in your Android project

  1. Link BiometricSensorSDK.aar from the OneSpan Mobile Security Suite package to your project.

  2. Link the androidx.appcompat:appcompat library from Google version 1.1.0 and later to your project.

  3. Link the androidx.biometric:biometric library from Google version 1.0.1 and later to your project.

To be able to access the biometric authentication service, you need to set appropriate permissions in your application configuration.

For devices that run on Android versions earlier than Android 9, you need to add the USE_FINGERPRINT permission to the AndroidManifest.xml file.

For devices that run on Android 9 or later, you need to add the USE_BIOMETRIC permission to the AndroidManifest.xml file.

iOS

The following procedure enables you to integrate and use the OneSpan Biometric Sensor SDK in your iOS project.

To use the OneSpan Biometric Sensor SDK in your iOS project

  1. Link the MSSBiometricSensor.xcframework from the OneSpan Mobile Security Suite package to your Xcode project.

  2. In the Build Settings > Other Linker flags section of your Xcode project, add the following line:

    -weak_framework LocalAuthentication.

  3. In the Info.plist file, define the NSFaceIDUsageDescription key.

You are now ready to use the OneSpan Biometric Sensor SDK. For more information on how to integrate the functions, see Overview of the Biometric Sensor SDK, the technical documentation, and the sample included in the product package.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, our interactive help assistant