localAuthentication api behaviour

Please provide the following:

  1. SDK Version: 34.0.1
  2. Platforms(Android/iOS/web/all): Android/iOS

My understanding on localAuthentication api flow:
1- Check if fingerprint or faceId capability is available
2- Check if fingerprint or faceId are available
3- if yes to the two above point then execute the LocalAuthentication.authenticateAsync(options) function

What about if fingerprint or faceId capability and/or data related are not available on the device? Does it fallback to the passcode automatically or additional code implementation is necessary?
I cannot find the information in the api docs.

Hey! So it should fallback to the passcode automatically. Easy way to test this would simply be to run LocalAuthentication.authenticateAsync in a simulator

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.