Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
For Samsung devices having iris sensor like S8, if the user sets iris as his preferred biometric, it works well with current biometricPrompt.
But, the error code delivered from onAuthenticationError callback is very weird.
E.g., if the sensor is hard to detect user's iris since the face is so close, then the ERROR_HW_NOT_PRESENT is returned.
So, this issue needs to be resolved also. Since I'm thinking that Samsung iris meets the CDD requirements, at least, the application can use iris properly.
But, the error code delivered from onAuthenticationError callback is very weird.
E.g., if the sensor is hard to detect user's iris since the face is so close, then the ERROR_HW_NOT_PRESENT is returned.
So, this issue needs to be resolved also. Since I'm thinking that Samsung iris meets the CDD requirements, at least, the application can use iris properly.
an...@google.com <an...@google.com> #3
shinkieun@ could you file a new bug for that? A bugreport (adb bugreport foo.zip) and repro steps will be needed
an...@google.com <an...@google.com> #4
Are you able to open public (view and/or comment) access to that spreadsheet so we can see what devices are included?
Thanks!
Thanks!
[Deleted User] <[Deleted User]> #5
> For Samsung devices having iris sensor like S8, if the user sets iris as his preferred biometric, it works well with current biometricPrompt.
It's not actually true. In my tests, it will prompt you to scan your finger rather than scan your face, even though system settings asked for face scan. Also, we can observe the UserNotAuthenticatedException happening under the hood. S8, S9, S10 all have it.
It's not actually true. In my tests, it will prompt you to scan your finger rather than scan your face, even though system settings asked for face scan. Also, we can observe the UserNotAuthenticatedException happening under the hood. S8, S9, S10 all have it.
[Deleted User] <[Deleted User]> #6
I'm using androidx.biometric:biometric:1.0.0-rc01, and I'm having trouble with all my Samsung devices:
Samsung Galaxy A20e (Android 9, latest update)
- Fingerprint: Works fine
- Face recognition: android.security.KeyStoreException: Key user not authenticated
Samsung Galaxy Note8 (Android 9, latest update)
- Fingerprint: Works fine
- Iris: Works fine
- Face recognition: android.security.KeyStoreException: Key user not authenticated
Samsung Galaxy S9 (Android 9, latest update)
- Fingerprint: Works fine
- Iris: Works fine
- Intelligent Scan: Works fine
- Face recognition: BiometricPrompt.ERROR_NO_BIOMETRICS in onAuthenticationError in BiometricPrompt.AuthenticationCallback()
Samsung Galaxy S10 (Android 9, latest update)
- Fingerprint: Works fine
- Face recognition: BiometricPrompt.ERROR_NO_BIOMETRICS in onAuthenticationError in BiometricPrompt.AuthenticationCallback()
I don't understand how Samsung can use other than fingerprint on Android 9 when this page:https://source.android.com/security/biometric clearly states that Android 9 includes fingerprint integration for BiometricPrompt only.
Samsung Galaxy A20e (Android 9, latest update)
- Fingerprint: Works fine
- Face recognition: android.security.KeyStoreException: Key user not authenticated
Samsung Galaxy Note8 (Android 9, latest update)
- Fingerprint: Works fine
- Iris: Works fine
- Face recognition: android.security.KeyStoreException: Key user not authenticated
Samsung Galaxy S9 (Android 9, latest update)
- Fingerprint: Works fine
- Iris: Works fine
- Intelligent Scan: Works fine
- Face recognition: BiometricPrompt.ERROR_NO_BIOMETRICS in onAuthenticationError in BiometricPrompt.AuthenticationCallback()
Samsung Galaxy S10 (Android 9, latest update)
- Fingerprint: Works fine
- Face recognition: BiometricPrompt.ERROR_NO_BIOMETRICS in onAuthenticationError in BiometricPrompt.AuthenticationCallback()
I don't understand how Samsung can use other than fingerprint on Android 9 when this page:
ib...@gmail.com <ib...@gmail.com> #7
Samsung confirmed to me this:
"From Android 10, Preferred biometric will be removed. BiometricPrompt will always show Fingerprint authentication by default.
The current plan to roll out Android 10 is late this year or early next year."
Basically, the original plan was to let the end user chose his preferred biometric method, but (copying Apple) Google now goes for either fingerprint or Face ID. E.g. the new Pixel 4 is Face ID only.
"From Android 10, Preferred biometric will be removed. BiometricPrompt will always show Fingerprint authentication by default.
The current plan to roll out Android 10 is late this year or early next year."
Basically, the original plan was to let the end user chose his preferred biometric method, but (copying Apple) Google now goes for either fingerprint or Face ID. E.g. the new Pixel 4 is Face ID only.
sa...@gmail.com <sa...@gmail.com> #8
Project: platform/frameworks/support
Branch: androidx-master-dev
commit e0ddc6a9ef6fcb8a8a97817220ebaa5297fafb31
Author: Curtis Belmonte <curtislb@google.com>
Date: Tue Oct 08 11:02:50 2019
Add device list to dismiss fingerprint dialog instantly
Introduces a list of device models for which FingerprintDialogFragment
should be dismissed immediately on receiving an error or cancel signal.
This makes for a better user experience on devices that, for example,
provide custom overlays during fingerprint authentication.
Test: Manually, using crypto-bound key demo in support demo app
Bug: 142150327
Change-Id: Ic08bebb29f75aba98daf68a67b7c38c37bdb69dc
M biometric/res/values/devices.xml
M biometric/src/main/java/androidx/biometric/FingerprintDialogFragment.java
M biometric/src/main/java/androidx/biometric/FingerprintHelperFragment.java
M biometric/src/main/java/androidx/biometric/Utils.java
https://android-review.googlesource.com/1137656
https://goto.google.com/android-sha1/e0ddc6a9ef6fcb8a8a97817220ebaa5297fafb31
Branch: androidx-master-dev
commit e0ddc6a9ef6fcb8a8a97817220ebaa5297fafb31
Author: Curtis Belmonte <curtislb@google.com>
Date: Tue Oct 08 11:02:50 2019
Add device list to dismiss fingerprint dialog instantly
Introduces a list of device models for which FingerprintDialogFragment
should be dismissed immediately on receiving an error or cancel signal.
This makes for a better user experience on devices that, for example,
provide custom overlays during fingerprint authentication.
Test: Manually, using crypto-bound key demo in support demo app
Bug: 142150327
Change-Id: Ic08bebb29f75aba98daf68a67b7c38c37bdb69dc
M biometric/res/values/devices.xml
M biometric/src/main/java/androidx/biometric/FingerprintDialogFragment.java
M biometric/src/main/java/androidx/biometric/FingerprintHelperFragment.java
M biometric/src/main/java/androidx/biometric/Utils.java
sa...@gmail.com <sa...@gmail.com> #9
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 93823c71dc8fcc577814c74f5e40793e6eb2a0c1
Author: Curtis Belmonte <curtislb@google.com>
Date: Mon Oct 07 14:29:40 2019
Add device list to force crypto auth via fingerprint
Introduces a list of device models for which
BiometricPrompt#authenticate will launch FingerprintDialogFragment
instead of BiometricFragment when called with a crypto object. This
is intended to work around an issue on some devices where crypto-based
authentication can be launched with weak biometrics.
Test: Manually using crypto-bound key demo in support demo app
Bug: 142150327
Change-Id: I1ff043ed0e7f7a72e3dab79fe54142480baac3a3
A biometric/res/values/devices.xml
M biometric/src/main/java/androidx/biometric/BiometricPrompt.java
M biometric/src/main/java/androidx/biometric/Utils.java
https://android-review.googlesource.com/1137655
https://goto.google.com/android-sha1/93823c71dc8fcc577814c74f5e40793e6eb2a0c1
Branch: androidx-master-dev
commit 93823c71dc8fcc577814c74f5e40793e6eb2a0c1
Author: Curtis Belmonte <curtislb@google.com>
Date: Mon Oct 07 14:29:40 2019
Add device list to force crypto auth via fingerprint
Introduces a list of device models for which
BiometricPrompt#authenticate will launch FingerprintDialogFragment
instead of BiometricFragment when called with a crypto object. This
is intended to work around an issue on some devices where crypto-based
authentication can be launched with weak biometrics.
Test: Manually using crypto-bound key demo in support demo app
Bug: 142150327
Change-Id: I1ff043ed0e7f7a72e3dab79fe54142480baac3a3
A biometric/res/values/devices.xml
M biometric/src/main/java/androidx/biometric/BiometricPrompt.java
M biometric/src/main/java/androidx/biometric/Utils.java
Description
When I tap use password I get an error from the callback "Unknown error 10" and then when I enter my PIN code or fingerprint callback is not called.
BUILD INFO
- Device type: Samsung A50
- OS version: Android 9
- Biometric library version: "androidx.biometric:biometric:1.0.0-rc02"
STEPS TO REPRODUCE
1. Face recognition enabled, face registered and set as preferred biometric
2. Fingerprint registered and enabled (required to show face recognition prompt, see
3. PIN required to unlock device
4. setDeviceCredentialAllowed(true)
5. Face recognition prompt showing, tap use password
6. Enter PIN code or fingerprint (black screen in video)
EXPECTED RESULTS
Toast showing "Authentication successful" from callback method onAuthenticationSucceeded
OBSERVED RESULTS
Toast showing error at step 5 and callback not called when entering pin code or fingerprint
NUMBER OF TIMES YOU WERE ABLE TO REPRODUCE 100%
Thank you