bizz84 / bizz84/coding-with-flutter-login-demo

Logout from any page

Open
#10 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
167
Forks
100
PR merge metrics
No merged PRs in 30d

Description

This is not so much an issue, but more a question about the YouTube video that you posted on March 7, 2019 (i.e. Flutter & Firebase authentication with streams and StreamBuilder)

After completing the steps in the video, we can only logout from the HomePage! From the HomePage, if we _Push_ or _PushReplacement_ a new route, and try to logout from that new route, we are not redirected to the LoginPage.

How would you change your code to be able to logout from any page? I'm sure many people are wondering the same thing :)

Thanks a lot!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the authentication and route-handling code from the demo, then reproduce logout after pushing or replacing the HomePage route. Trace how logout currently redirects from HomePage and determine the equivalent behavior for other routes. Done means logging out from any page consistently reaches LoginPage.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
authentication, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.