-
Notifications
You must be signed in to change notification settings - Fork 855
Closed
Labels
A-Pin codeT-DefectSomething isn't working: bugs, crashes, hangs and other reported problemsSomething isn't working: bugs, crashes, hangs and other reported problems
Description
Steps to reproduce
- Make sure you have no biometric authenticators enrolled in your device (no fingerprint, no face unlock, etc.).
- Open the app, go to Settings > Security & Privacy > Protect Access.
- Enable PIN code.
- See 'Enable biometrics' can be toggled.
Outcome
What did you expect?
'Enable biometrics' should be disabled so it can't be toggled, as there are no biometric authenticators enrolled.
What happened instead?
It is enabled.
This can lead to crashes when starting the app, since we're asking for biometric auth but there is no biometric feature to unlock the prompt, and a UserNotAuthenticatedException will be thrown.
This can also be reproduced as a weird bug in some emulators even if there are biometric features enrolled.
Your phone model
Emulator, Mi 9T Pro
Operating system version
Android 12
Application version and app store
1.4.32-dev [212085012] (G-1411fdd9) develop
Homeserver
matrix.org
Will you send logs?
No
Are you willing to provide a PR?
Yes
Metadata
Metadata
Assignees
Labels
A-Pin codeT-DefectSomething isn't working: bugs, crashes, hangs and other reported problemsSomething isn't working: bugs, crashes, hangs and other reported problems