warren-bank / Android-Mock-Location

Android app that mocks the GPS and Network location providers.
GNU General Public License v2.0
116 stars 21 forks source link

App specification #20

Closed NiX3r closed 2 months ago

NiX3r commented 2 months ago

Hi there 👋

is there way to set specific app (app ID, PID, etc.) to show fake GPS?

My use of case

I'm using DJI drone and want to disable NFZ (no-fly-zone) and altitude limits. This could be possible to fake my GPS to random location in the USA. However I'm also using ATAK - which is basically military apps to share data such as position, images or in my case drone view and location. So I need to fake GPS only in DJI Fly app and show real GPS in ATAK

warren-bank commented 2 months ago

To the best of my knowledge, Android only enables or disables location mocking at a system-wide level. Sorry.

NiX3r commented 2 months ago

Sad to hear. Anyway, thanks for your pretty quick answer 💪