# Fingerprint/TouchID Support

DevFeed: [Fingerprint/TouchID Support](<https://devfeed.tech/articles/fingerprint-touchid-support-19302.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/fingerprint-touchid-support/>)

Author: Shai Almog

Published: 2017-05-02T00:00:00Z

Content type: article

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Library](<https://devfeed.tech/topics/library.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [apple](<https://devfeed.tech/tags/apple.md>), [apps](<https://devfeed.tech/tags/apps.md>), [code](<https://devfeed.tech/tags/code.md>), [ios](<https://devfeed.tech/tags/ios.md>), [library](<https://devfeed.tech/tags/library.md>)

## AI overview

The article presents Codename One's cn1lib fingerprint-scanning library, which provides a basic cross-platform API for iOS and Android. The API validates that the user is the device owner and can restrict parts of an application from third-party use.

## Source excerpt

Fingerprint scanners are pretty common in modern hardware both from Apple and some Android vendors. The problem is that the iOS and Android API's for accessing them are a world apart. However, it's possible to find some low level common ground which is exactly what our cn1lib for fingerprint scanning accomplished. This is a very basic API that just validates the user as the owner of the device, it's useful to lock off portions of the application from a 3rd party using code such as: