[Touch ID Plugin] Unable to get Biometric Type from touchId plugin
Forge component by OutSystems R&D
Application Type
Mobile

I am trying to get the BiometricType from this function but it always logs 0 regardless of the device. I am currently using version 3.2.3. Based on the plugin it should return one of the following. Please advice on how to proceed as I need to determine the biometric type to show whether the icon is for touch id or face id in IOS. Thank you.

 

Hi,

In my Iphone (IOS 14.4.1) works properly. The logic in my test app:


What value have you got in CheckBiometricType.Error.ErrorCode?

Kind regards, David.

Hi @David Vaello ,

I did try to recreate your logic and log the results as follows. I used this for the values to be logged. Thank you.

"CheckBiometricType.Error.ErrorCode = 0:   " + Platform + " ErrorCode " + CheckTouchIdPlugin.Error.ErrorCode + " ErrorMessage " + CheckTouchIdPlugin.Error.ErrorMessage


Hi,

If I am not wrong you are obtaining 0 in CheckBiometricType.Error.ErrorCode and 0 in CheckBiometricType.BiometricType. 

The error codes in CheckBiometricType are the following:

and the values in BiometricType:

In my test app with my IOS device I can view the correct values:

What IOS version are you using? Can you share a test .oml in order to verify your logic in my device?

Kind regards, David.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.