SankethBK / diaryvault

A personal diary application written in Flutter
https://play.google.com/store/apps/details?id=me.sankethbk.dairyapp
MIT License
91 stars 58 forks source link

Fix fingerprint login glitch #16

Closed SankethBK closed 11 months ago

SankethBK commented 1 year ago

Fingerprint login works, but when app is opened fingerprint login prompt appears, disappears and then appears again. Ideally it should not disappear. Refer to this screen recording at 0:07

bug.webm

Fingerprint login is initiated in AuthPage widget located at lib/features/auth/presentation/pages/auth_page.dart.

This is the line of code starting the fingerprint login

widget.fingerPrintAuthRepository.startFingerPrintAuthIfNeeded();

Somehow entire AuthPage widget is getting re-rendered, logs might help to debug.

droidbg commented 11 months ago

@SankethBK I like to pick this up, can you assign it to me?