gray-mueller / gray-mueller/roadside-assistance-system-react-native

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

Open
#374 0 comments 0 reactions 0 assignees View on GitHub
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

Research direction

Start at the customer app's login process and locate where the +92 default country code is set; review how phone country codes are currently represented. Done means the flow selects a country code appropriate to the user's IP address or location instead of always using +92, while still allowing manual correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
authentication, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.