Skip to content

fix(driver): fully clear session state on logout#1

Closed
YLaxmikanth wants to merge 2 commits into
mainfrom
fix/438-driver-session-logout
Closed

fix(driver): fully clear session state on logout#1
YLaxmikanth wants to merge 2 commits into
mainfrom
fix/438-driver-session-logout

Conversation

@YLaxmikanth

Copy link
Copy Markdown
Owner

Description

Fixes a logout issue in the Driver App where authenticated screens remained accessible until application restart.

Changes Made

  • Reset logout navigation using the root navigator
  • Fully clear the authenticated shell route stack
  • Redirect users to the login screen immediately after logout
  • Added regression test covering logout behavior and back-navigation protection

Verification

  • Logout now removes the authenticated shell from the navigation stack
  • Protected screens are no longer accessible after logout
  • Back navigation cannot return to authenticated routes
  • Added widget test for logout flow

Closes KanishJebaMathewM#438

@github-actions

Copy link
Copy Markdown

🎉 Thank you for your contribution! Your pull request has been received and will be reviewed shortly.

If you enjoy the project, please consider giving the repository a ⭐. You can also follow my GitHub profile to stay updated on future open-source projects.

Thanks for being part of the community! 🚀

@YLaxmikanth

Copy link
Copy Markdown
Owner Author

Closing this PR because it was accidentally opened against my fork instead of the upstream repository. I will open a new PR against KanishJebaMathewM/Truxify with the same changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG][Driver-App] Driver Session Persists After Logout Until App Restart

1 participant