You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (isiOS) {
// In order to check the biometry type, you have to check if biometrics are supported in general
var supported = TiIdentity.isSupported();
console.log('supported '+supported);
if (TiIdentity.biometryType == TiIdentity.BIOMETRY_TYPE_FACE_ID) {
authPhrase = 'Face ID';
} else if (TiIdentity.biometryType == TiIdentity.BIOMETRY_TYPE_TOUCH_ID) {
authPhrase = 'Touch ID';
} else {
authPhrase = '(None available)';
}
if (!supported) {
alert('Authentication is not supported. Available biometrics: ' + authPhrase);
}
// Using this constant, iOS will automatically offer to authenticate with Face ID or Touch ID
// when calling "authenticate" below.
TiIdentity.setAuthenticationPolicy(TiIdentity.AUTHENTICATION_POLICY_BIOMETRICS); // or: AUTHENTICATION_POLICY_PASSCODE
}
this returns always false (none available) for TiIdentity.isSupported() if device is ipad even if it has touchid
Anybody with this issue?
The text was updated successfully, but these errors were encountered:
It works properly even on iPad if Touch ID has been enabled. Otherwise TiIdentity.isSupported() will return false.
Tested on iPad 7th generation iOS 14.4
this returns always false (none available) for TiIdentity.isSupported() if device is ipad even if it has touchid
Anybody with this issue?
The text was updated successfully, but these errors were encountered: