beemdevelopment / Aegis

A free, secure and open source app for Android to manage your 2-step verification tokens.
https://getaegis.app
GNU General Public License v3.0
8.96k stars 378 forks source link

Can't press use biometrics after locking aegis (sometimes) #668

Open elieobeid7 opened 3 years ago

elieobeid7 commented 3 years ago
Info
Steps to reproduce

Login to Aegis vault, then press on the 3 dots on the top right and press lock, then press on "use biometrics".

The finger scanner popup won't show sometimes, if it does show then press cancel, type a wrong password, then press "use biometrics" multiple times, at one point it will just not show anything. Press "use biometrics" many consecutive times fast, it will stop working,

This issue also occurs on the initial login screen.

alexbakker commented 3 years ago

I can only reproduce this by rapidly tapping the "use biometrics" button. With normal usage, following your reproduction steps, the prompt always shows for me.

I have a similar strange issue on my Pixel 5, where the biometrics dialog won't show up if I open Aegis quickly after unlocking my device using biometrics. I can also reproduce that with other apps though, so I'm wondering whether there's something going on under the hood here, either in Android or androidx.biometrics.

Let's wait for a new release of the latter so see if that improves things in any way.

alexbakker commented 3 years ago

If you don't mind getting your hands dirty, you can also try to update androidx.biometrics to 1.2.0-alpha01 in Aegis and report if that fixes the issue you're seeing.

elieobeid7 commented 3 years ago

Sure. will do so this upcoming week and report back the result.

alexbakker commented 3 years ago

This appears to be a known issue: https://issuetracker.google.com/issues/174302354.