iiitv / iiitv/DonorConnect-Debugathon
[Bug]: App always starts from onboarding page instead of home page after relaunch, even when user is already logged in
- Dominant language
- Dart
- Stars
- 1
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
In the application, there is an issue where, after a user signs up or logs in, quits the application, and then reopens it, the app starts from the onboarding page instead of the home page. This behavior occurs even if the user is already authenticated and should be redirected directly to the home page.
### Expected behavior
When the user signs up or logs in and then quits the application:
On reopening, the app should check if the user is already logged in.
If the user is logged in, it should navigate directly to the home page.
The onboarding page should only be shown the first time a user launches the app or when they explicitly log out or delete their account.
The app should not show the onboarding page if the user has an existing account and is already logged in.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the application startup entry point and the navigation decisions for onboarding, login, and home, then inspect how authenticated state is checked after relaunch. Reproduce the flow by logging in, quitting, and reopening the app. Done means an authenticated user reaches home while onboarding remains available for first launch and after logout or account deletion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100