APP FINGERPRINT HARDWARE ANDROID
Accessing them can only occur after the Android system confirms that the individual using the device is recognized and authorized. While improving the UX is a great reason to implement fingerprint authentication in an Android app, companies must also take great care to protect features that run behind fingerprint authentication. AndroidX’s BiometricPrompt reached beta in August 2019! ?Īll code snippets provided in this guide were made using AndroidX’s BiometricPrompt (at the time of writing this post, the latest version is 1.0.0-beta01), so make sure to add its dependency in your app’s adle: implementation "androidx.biometric:biometric:$biometric_version" Step by step: Implementing Android fingerprint authentication Although there was the material.io UI standard for it, there wasn’t a unified authentication dialog - which meant app developers were wildly inconsistent how they supported it.ĪPI 28 added the BiometricPrompt, a unified authentication dialog, and FingerprintManager was marked as deprecated. At that time, the feature was supported through the FingerprintManager API. A bit of Android fingerprint authentication historyįingerprint authentication has been officially supported by Android since API 23 (M). In this post, we provide step-by-step instructions for how developers can add Android fingerprint authentication into apps. Remember how annoying it was to provide your password every time you needed to access your bank’s app? And every time you needed to perform a sensitive operation, like an account transfer? And even rapidly drawing some random lines to unlock your phone while fearing someone getting a glimpse of it?Īs an Android app developer and an app user, I know just how big of a difference fingerprint authentication can make for the user experience. Once you have used a phone with a fingerprint scanner, it’s difficult to imagine going back to one without it. The experience of fingerprint authentication is really delightful.