Is there any way to get user current location using amplify geo without accessing GPS of device?

0

I don't want to implement map to my app, I just want to track user location without gps access. I'm developing app in android platform there are many libraries to acess location but adding libraries for different api level(android version) with if else statements is a big headache for me. So I just want to access location without all headaches so i want to access current location using amplify geo with GPS

1 réponse
1
Réponse acceptée

One method of geo-location is to use the IP address of the client - but that isn't always accurate and is (at best) accurate to a city.

You haven't mentioned what level of accuracy you need - if it needs to be better than that then GPS is the way to go.

profile pictureAWS
EXPERT
répondu il y a 2 ans
profile picture
EXPERT
vérifié il y a un an
  • I just want to know the country name?

  • My answer stands: IP address might be able to give you the country name (there are many IP-to-geo databases available) but it's not 100% accurate.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions