I want to use phonegap
for a mobile geolocation app, and I noticed there are a few fake gps apps out there. Is there a way in phonegap
to determine if gps coordinates from the api are genuine or is it always genuine?
example fake location apps:
https://itunes.apple.com/us/app/fake-location/id431065024
https://play.google.com/store/apps/details?id=com.lexa.fakegps
ALLOW MOCK LOCATION
in Developer options
is openandroid.permissions.ACCESS_MOCK_LOCATION
in Manifest.xmlEven so, you can't handle every situation. For example, if you put https://play.google.com/store/apps/details?id=com.lexa.fakegps into /system/priv-app
, you will find it can mock location without ACCESS_MOCK_LOCATION
, and how it mock location is like this, so you can hardly detect the change of ALLOW MOCK LOCATION
.
So further you can try these below:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With