Giter Club home page Giter Club logo

Comments (6)

wilpar avatar wilpar commented on August 20, 2024

This seems to be related to a mismatch between user state on firebase and on the app at startup.

from flutter-reddit-clone.

wilpar avatar wilpar commented on August 20, 2024

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.

#8

from flutter-reddit-clone.

wilpar avatar wilpar commented on August 20, 2024

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.

YonasAlem avatar YonasAlem commented on August 20, 2024

Thanks man. it seems nice. I will check it out.

from flutter-reddit-clone.

YonasAlem avatar YonasAlem commented on August 20, 2024

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.

wilpar avatar wilpar commented on August 20, 2024

from flutter-reddit-clone.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.