Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Functionality to Retrieve User IP and Location in JavaScript #15

Open
adalbertobrant opened this issue Oct 31, 2023 · 2 comments

Comments

@adalbertobrant
Copy link
Contributor

Description:

We need to implement a new feature in our application that involves obtaining the user’s IP address and geographical location using JavaScript. This feature is crucial for personalizing user experience and providing location-based services.

Details:

Objective: The main goal is to accurately fetch the user’s IP address and geographical location (latitude, longitude).
Approach: We can use public IP APIs like ‘ipify’ for getting the IP address and Geolocation APIs like ‘navigator.geolocation’ for getting the location.
Expected Outcome: The functionality should return the user’s IP address and geographical coordinates.
Error Handling: The functionality should handle scenarios where the user denies location access or if the location services are turned off.
Please note that we must respect user privacy and ensure we are in compliance with GDPR and other local regulations while implementing this feature.

@sakibian
Copy link

sakibian commented Nov 1, 2023

The sign is assigned but the description is looking for someone to grab it and complete it. So which one is this? @adalbertobrant Are you working on this? OR looking for someone to take over this?

@sshah135
Copy link
Contributor

sshah135 commented Dec 9, 2023

Hey there, I have taken the opportunity and added this feature to the games portal, can you please have a look at my pull request and update me if it's good or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants