Get controller fails assertion after Firebase Authentication #1322
Unanswered
TJMusiitwa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After migrating to null safety and using the latest firebase and getx packages, my app is broken.
I am using email link authentication and after I pass the email link back into the application it returns an error that the uid is null.
Inside my BusinessController;
This assertion here returns null and yet before upgrading to Flutter 2 it worked out well no problem.
My signInwithEmailLink function:
On my dashboard page:
Is there perhaps something I am not properly marking to return the uid?
Beta Was this translation helpful? Give feedback.
All reactions