Fixed
Status Update
Comments
[Deleted User] <[Deleted User]> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
re...@gmail.com <re...@gmail.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
[Deleted User] <[Deleted User]> #4
This also seems to happen on Lenovo TB-X505F Android 10 tablet
[Deleted User] <[Deleted User]> #5
any ETA for a fix?
ah...@league.com <ah...@league.com> #6
Seeing this on a SM-T510 running Android 10
ah...@league.com <ah...@league.com> #7
in versions 1.0.1 and 1.1.0
wb...@gmail.com <wb...@gmail.com> #8
also happens with 1.2.0-alpha02
wb...@gmail.com <wb...@gmail.com> #9
seems to be due too hasBiometrics() return false:
if (BiometricManager.hasBiometrics(mContext)) {
mService.authenticate(mToken, sessionId, userId, mBiometricServiceReceiver,
mContext.getOpPackageName(), mBundle, confirmDeviceCredentialCallback);
} else {
mExecutor.execute(() -> {
callback.onAuthenticationError(BiometricPrompt.BIOMETRIC_ERROR_HW_NOT_PRESENT,
mContext.getString(R.string.biometric_error_hw_unavailable));
});
}
in android.hardware.biometrics.BiometricPrompt
if (BiometricManager.hasBiometrics(mContext)) {
mService.authenticate(mToken, sessionId, userId, mBiometricServiceReceiver,
mContext.getOpPackageName(), mBundle, confirmDeviceCredentialCallback);
} else {
mExecutor.execute(() -> {
callback.onAuthenticationError(BiometricPrompt.BIOMETRIC_ERROR_HW_NOT_PRESENT,
mContext.getString(R.string.biometric_error_hw_unavailable));
});
}
in android.hardware.biometrics.BiometricPrompt
wb...@gmail.com <wb...@gmail.com> #10
A workaround is to use the deprecated keyguardManager.createConfirmDeviceCredentialIntent() in the authentication error callback when BIOMETRIC_ERROR_HW_NOT_PRESENT is returned
cu...@google.com <cu...@google.com>
[Deleted User] <[Deleted User]> #11
This is sort of breaking the authentication flow. What will be the ETA for the fix?
cu...@google.com <cu...@google.com> #12
This is fixed in version 1.2.0-alpha04 (releasing today).
kc...@google.com <kc...@google.com>
sa...@gmail.com <sa...@gmail.com> #13
this is not fixed in 1.2.0-alpha04
ol...@gmail.com <ol...@gmail.com> #14
Hi, is there any update here? Is this really fixed in `1.2.0-alpha04`? I faced with the same issue, but I wouldn't like to use alpha without being sure that the bug has been fixed.
Description
BUILD INFO
STEPS TO REPRODUCE
EXPECTED RESULTS
The keyguard activity should be displayed for user to enter pin/pattern/passcode.
OBSERVED RESULTS
Get error
BIOMETRIC_ERROR_HW_NOT_PRESENT
immediately in the callback.NUMBER OF TIMES YOU WERE ABLE TO REPRODUCE (e.g. 3/10)
10/10