Is there a way to detect when user is mocking his location in chrome browser (mobile and desktop)? Tried googling but i only see how to actually mock and how to detect in native mobile app.
Asked
Active
Viewed 3,668 times
1 Answers
0
Refer to this question to see how to get the client's IP address. Most of the services mentioned in that question will also return the IP address's location, and thus allow you to compare it to the location provided by the geolocation API. If the service does not provide the location, refer to this question to convert the IP address into a location.

Giorgian Borca-Tasciuc
- 1,091
- 9
- 26