FIX Password Reset Flow in SupaEmailAuth
What kind of change does this PR introduce?
FIXES #88
What is the current behavior?
Password reset flow is incomplete in SupaEmailAuth
What is the new behavior?
Successful password reset flow
Additional context
N/A
Added mounted guards to avoid the usage of BuildContext's across async gaps
Yeah, second attempt! I was using an older flutter version that didn't trigger the new warnings. Now with 3.19.6 it's working without issues:
% fvm flutter --version
Flutter 3.19.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 54e66469a9 (2 days ago) • 2024-04-17 13:08:03 -0700
Engine • revision c4cd48e186
Tools • Dart 3.3.4 • DevTools 2.31.1
% fvm flutter analyze --fatal-warnings --fatal-infos lib
Analyzing lib...
No issues found! (ran in 0.7s)
@dshukertjr Why don't you use fvm?
Can anyone take a look here? Thanks ❤️
@dshukertjr You're welcome. I still miss some features here (add more possibilities to SignUp flow, more UI tweaks, #32...) so probably I will make more PR in the near future.