Improved performance and ANR prevention for biometric operations
We have released new patch version 3.20.12 for the Android SDK.
Patch overview
This patch enhances the stability and performance of biometric operations on Android.
To prevent potential Application Not Responding (ANR) errors, heavy cryptographic tasks are now processed on a background thread. This change ensures that client applications can now safely initiate biometric operations from either the Main thread or an I/O thread without risking UI freezes or StrictMode violations.
For integrations using the androidx.biometric library, the SDK is now lifecycle-aware. This ensures that the biometric prompt is automatically and safely cancelled in response to application lifecycle changes.
Affected versions
If your app uses an affected version of the SDK, then you should upgrade it to use the latest, patched version:
| Affected versions | Patched version |
|---|---|
| 3.20.10 and earlier | 3.20.12 |
How to upgrade
For the latest features and security improvements, you need to upgrade your mobile app to use the most recent version of the SDK.
To learn how to do this, see our Upgrade guide.