marthaegrimaldi / marthaegrimaldi/zomato-clone-app-source-code

Login fails on Android unless using "demo customer" email

Open
#1,108 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When attempting to log in through email on Android, users are unable to log in unless they use the "demo customer" email. Any other email address results in an error message.

To Reproduce
Steps to reproduce the behavior:

Open the app on a Samsung Galaxy A15 (Android)

Go to the login screen

Enter any email address other than "demo customer"

Attempt to log in

See error message

Expected behavior
The login should accept any valid user email, not just the "demo customer" email.

Screenshots
If applicable, add a screenshot of the error message displayed.

Desktop (please complete the following information):

OS: N/A

Browser: N/A

Version: N/A

Smartphone (please complete the following information):

Device: Samsung Galaxy A15

OS: Android

Browser: Default (or specify if using Chrome, etc.)

Version: Latest

Device (for cross-check): iPhone 13 Pro Max

OS: iOS

Browser: Safari

Version: Latest

Additional context
This issue seems to be specific to Android. The login works fine on iOS (e.g., iPhone 13 Pro Max). The problem could be related to platform-specific login handling or authentication checks.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the login flow on a Samsung Galaxy A15 using an email other than the demo customer email, then compare the result with the working iOS flow on an iPhone 13 Pro Max. Trace the Android-specific authentication handling from the login screen and identify why valid non-demo emails produce an error. Done means valid user emails log in successfully on Android without breaking the existing iOS behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.