Biometric authentication for native mobile application
requirements
You have installed the Katalon TestCloud Keywords plugin to automatically load all TestCloud keywords into your project without having to manually define them. If you have not, visit Katalon Store: Katalon TestCloud keywords.
Biometric authentication in TestCloud supports the following OS and API:
OS | Supported API |
---|---|
Android 11 or higher | • BiometricPrompt class's authenticate method from the AndroidX Biometric library. See: Androidx Biometric. • Android's native BiometricPrompt API. See: Biometric Prompt. |
iOS 13 or higher | • LAContext class: This class is used to interact with the local authentication framework. • evaluatePolicy : The evaluatePolicy(:localizedReason:reply:) method of LAContext that performs biometric authentication, such as verifying a user's face or fingerprint. • canEvaluatePolicy : The canEvaluatePolicy(:error:) method of LAContext that checks whether a specific biometric authentication policy can be evaluated on the device. |
The BiometricsAuthenticator.authenticateFail
and BiometricsAuthenticator.authenticatePass
keywords in Katalon TestCloud allows users to simulate biometric inputs to test native mobile applications. To use it, follow these steps: