Problem with StreamBuilder + getFirebaseAuth().authStateChanges() #17060
Unanswered
SpyrosGashel
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.
-
StreamBuilder<User?>(
stream: myAppKey.currentState!
.getFirebaseAuth()
.authStateChanges(),
The app refreshes automatically every two minutes due to this issue. I’ve tried using .distinct(), but the problem still persists. I want to prevent the refresh unless something has actually changed.
Thank you for your time!
Beta Was this translation helpful? Give feedback.
All reactions