I created a website which finds the user location using geolocation api, which runs perfectly fine on the localhost, but as I push the webpage on server it is not fetching the user location(geoloaction).
Can anyone please tell me an approach?
Urgent help required!
Not possible because of the security system. But Im not sure about GPS.
do you know any alternatives to do so?
Using a geo service on your website should work just fine. The security system prevents you from hosting a geo API server yourself, but as I understand it, that doesn’t apply here.
Do you have any logs or error message indicating why the API doesn’t work? Does it return any errors, or just return no or bad data?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.