DEV Community

loading...

Discussion on: Flutter - Firebase Google Sign-in Auth + SplashScreen using updated API

Collapse
movingmelody profile image
Sumanth Author

Hey Nikhil, thank you for noticing and pointing out the error. (fixed error now)
Cause for error : When the user enters home screen second time it fails to retrieve the name,imageUrl some other details because we haven't stored user details globally.
Anyway, I've fixed the issue and updated the article.
If you found this article useful sharing is highly appreciated. Twitter : @movingmelody :)

Collapse
iamnikhilpardeshi profile image
Nikhil Pardeshi

Sir how to resolve these error. Becz I'm beginner in Flutter.

Thread Thread
movingmelody profile image
Sumanth Author

I've updated the code in the article or you can find the code in GitHub repo. Go through the code again. Your error will solve.

Thread Thread
iamnikhilpardeshi profile image
Forem Open with the Forem app