Comments (6)
This seems to be related to a mismatch between user state on firebase and on the app at startup.
from flutter-reddit-clone.
I bashed around at it for a few hours, and it seems current versions of firebase_auth react differently, which is why we were having the problem. It likely was OK in Rivaan's app because his pubspec references older versions of firebase_auth, firebase_core, etc. What a difference 6 months can make to a project!
Added a pull request to solve.
from flutter-reddit-clone.
BTW, If all you're interested in is the authentication management, I've pulled it out into its own repo.
Love this setup, will be using it in all future projects!
https://github.com/wilpar/bulletproof
from flutter-reddit-clone.
Thanks man. it seems nice. I will check it out.
from flutter-reddit-clone.
I know this is out of the topic.
but, What if we have like multiple screens from onboard to home screen? for example, if it is phone auth, we may have onboard -> login view -> verify view -> user info input view -> home screen. your solution will handle if we have two choice either login screen or home screen.
if you have idea it would be appreciated.
from flutter-reddit-clone.
from flutter-reddit-clone.
Related Issues (12)
- error while running in web
- How to fix cloudstore errors HOT 1
- Communities not being displayed
- setState issue
- backgroundColor is depreciated
- communities not updating while login with different user HOT 3
- Community creation with multiple words
- After "when" how to update TextEditingContoller
- Home Screen Widget is rebuilding frequently
- Home Screen Widget rebuilding frequently HOT 1
- This logic needs to change
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-reddit-clone.