gray-mueller / gray-mueller/food-ordering-app-using-python

Default Country Code Not Automatically Set According to User's IP Address in Enatega Multivendor Customer App.

Open
#2,506 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Issue: Default Country Code Not Automatically Set According to User's IP Address
Description:
Application currently sets the default country code as +92 for users during the login process. However, it does not automatically adjust the default country code based on the user's IP address or location.

Impact:
User Inconvenience: Users may find it inconvenient to manually change the default country code during login, especially when using the app while traveling or in different countries.

Reduced User Experience: The app's user experience could be improved by automatically detecting and setting the default country code based on the user's IP address.

Steps to Reproduce:

Open the app.
Start the login process.
Observe that the default country code is set as +92, regardless of the user's current location.
Expected Resolution:
The application should be updated to automatically detect the user's location or IP address and set the default country code accordingly during the login process. This enhancement will improve the user experience by reducing the need for manual adjustments and ensuring that the default country code is relevant to the user's location.

WhatsApp Image 2023-10-18 at 15 22 20_c72cac94

Contributor guide

Open the contributing guide

Research direction

Start by locating the customer app's login flow and the code that sets the default +92 country code. Determine how the app can detect the user's IP address or location, then verify that login presents the appropriate country code for users in different locations.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.