openedx / openedx/openedx-app-android
Android - Different Internet connectivity errors for both Sign in & Register screens
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 36
- Forks
- 61
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 2
Description
Description:
When the user tries to sign in without the internet (Empty Fields), an invalid email error occurs. In contrast, when the user tries to register without the internet (Empty Fields), an Internet connectivity error occurs.
Note: The logic behind this is that when there is no internet and we try to sign in with empty fields, the server first checks the validation of the fields and then the connection. According to this logic, the Sign-in behavior is correct
Steps to Reproduce:
- Install the openedX app
- Load the app
- Go to the Register screen
- Switch off the internet
- Tap on the Create account button with empty fields
- Notice the user gets an internet connectivity error
Expected Behavior:
The Behavior for both Register & Sign in should be the same
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the offline, empty-field submission on the Register and Sign in screens, then trace their validation and connectivity handling. Done means both screens show the same behavior for this scenario, with the relevant validation covered or verified by the existing app tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100