Hi, 

Currently, i am using the "Touch ID Plugin" on the forge, I would like to ask is there any way to detect whether the IOS device is supporting Touch ID or Face ID?  

Because I would like to change the login icon base on whether the IOS device is supporting Touch ID or Face ID.


Many Thanks,

Parko Cham

Parko Cham wrote:

Hi, 

Currently, i am using the "Touch ID Plugin" on the forge, I would like to ask is there any way to detect whether the IOS device is supporting Touch ID or Face ID?  

Because I would like to change the login icon base on whether the IOS device is supporting Touch ID or Face ID.


Many Thanks,

Parko Cham


Hi,


"Face ID" for iPhone x and later models. Also, you can use "Touch ID" in other iPhone models.


Thnks

Thanks for all answer.

My Touch ID Plugin works fine. My only concern how can I distinguish whether the IOS device support face id or touch id. 


Solution

Hi,

The touch ID plugin does not return the type, you can find other cordova plugin which can return type for example https://github.com/EddyVerbruggen/cordova-plugin-touch-id but I suggest you to try face unlock https://www.outsystems.com/forge/component-overview/5409/face-unlock. This plugin can also be used for touch id authentication on iOS which has only touch it and isAvailable has a output called IdType which will return touch or face.

Regards.

Solution