infinum / Android-Goldfinger

Android library to simplify Biometric authentication implementation.
Apache License 2.0
654 stars 76 forks source link

Release/2.1.0 #72

Closed Aksi0m closed 2 years ago

Aksi0m commented 3 years ago

This PR adds support for specifying authenticator types when doing biometric operations. The biometric lib supports 3 auth types:

The new main screen of the example app now displays the appropriate information about each of these authenticators. The specific authenticator is disabled enabled depending on the device support for that authenticator type.

Screenshot_20210407_113751_co infinum goldfinger example





Alongside these changes the new version includes a new Reason type that is dispatched in the onResult callback - SECURITY_UPDATE_REQUIRED. This is dispatched in case a security update is needed. Documentation ref:

A security vulnerability has been discovered with one or more hardware sensors. The affected sensor(s) are unavailable until a security update has addressed the issue.

Aksi0m commented 3 years ago

Thanks for the review, thanks to you and some additional test cases I did find a bug in the validator method. Should be ready now for the review. @igortepavac I am adding you too since you like to peak :D

Aksi0m commented 2 years ago

I've created a test build in one of our internal apps with this version of goldfinger integrated. Hrvoje will use that build to cover the usual test cases in order to verify if the Goldfinger 2.1.0 is good to go. cc @JonatanPlesko

Aksi0m commented 2 years ago

Testing is done. We have šŸŸ¢ to release. Let's do this! šŸŽ‰