1 min readMay 12, 2020
Basically I am no longer relying on that data to need to be updated immediately. In main.dart I changed from looking at the UserModel data to looking at the FirebaseUser instead. So the error that was happening no longer occurs. userSnapshot?.data?.uid now is what I look at instead of the UserModel _user previously. Then the user firestore data can update whenever it chooses without creating an error in the code.
Maybe I don’t fully understand the problem that is still being caused. If you wouldn’t mind opening an issue in the github repository if you need further clarification, thanks!