react-native-geolocation icon indicating copy to clipboard operation
react-native-geolocation copied to clipboard

Does this package support detecting mock locations?

Open eyupdogan opened this issue 8 months ago • 1 comments

Hi, I am using @react-native-community/geolocation in my React Native project, and I would like to detect if the retrieved location is a mock (fake) location.

I checked the position object returned by getCurrentPosition, but I couldn't find a property to indicate whether the location is mocked.

If mock location detection is not currently supported, are there any plans to implement this feature in the future?

Thanks in advance!

eyupdogan avatar Mar 20 '25 07:03 eyupdogan

Yes it does.

Image

anuragchachan avatar May 22 '25 08:05 anuragchachan