lambertf917 / lambertf917/ride-sharing-solution-react

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

Open
#284 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
0
Forks
0
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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the customer app's login process, where the issue says the default country code is currently set to +92. Determine how the app can obtain the user's location or IP-derived country and how that value should affect the login field. Done means the default country code reflects the user's location instead of always being +92, while users can still change it manually.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.