We're developing the app for Android, but we expect it to work in ChromeOS too. And it does work, except one of our latest features brings false negatives.
All KeyguardManager
methods return false
. For example https://developer.android.com/reference/android/app/KeyguardManager#isDeviceSecure()or https://developer.android.com/reference/android/app/KeyguardManager#isKeyguardSecure() despite that fact, that Chromebook has password
Or BiometricManager
returns https://developer.android.com/reference/android/hardware/biometrics/BiometricManager#BIOMETRIC_ERROR_NO_HARDWARE for https://developer.android.com/reference/android/hardware/biometrics/BiometricManager#canAuthenticate(int) even with the laptop having fingerprint sensor
I'm trying to find a solution to this, any help is appreciated
I have same question in google groups, but no luck (https://groups.google.com/a/chromium.org/g/chromium-os-dev/c/5fjBragbAIM)