AdguardTeam / AdguardForAndroid

Open bug tracker for Android version of AdGuard.
https://adguard.com/
1.23k stars 86 forks source link

Add the option to protect the device "GPS" #1477

Open veronikasav opened 6 years ago

veronikasav commented 6 years ago

On the browser "Firefox Focus" your application does nothing like when on the "DNS" blocking of unsuitable sites using the "adguard dnsdecrypt" I know that on some browser's like "Puffin browser" adguard doesn't work. Thank you. Your application is 👍 great. Why not add the option to protect the device "GPS" like on apps that are requesting gps location , adguard can give those apps random unreal locations to protect the user's. I am not talking about those apps that are location spoofers. The way those location requesting apps work on requesting location either by location internet based or the GPS... Adguard can give those apps false gps data.. That would be cool. There's an app that does that from a person in Russia but he has no available time to update it to work on Android 7 and above because it only works on Android 5. That app has the option to white list apps that you want them to have real location access.

Customer ID

1585790

ameshkov commented 6 years ago

This is actually a nice feature request

TPS commented 6 years ago

It's quite a bit out-of-scope, though, unless this is specifically about rewriting HTTP/JS GPS requests, like the gyro in #1436, no?

ameshkov commented 6 years ago

This one is not about networking and I doubt it can be implemented without having root access.

It's just location services are misused so often, this feature may be really useful for protecting people privacy.

TPS commented 2 years ago

Perhaps this can be implemented via fake location like https://github.com/mcastillof/FakeTraveler?

Equivalent request for AGVPNa @ https://github.com/AdguardTeam/AdGuardVPNForAndroid/issues/161

ameshkov commented 2 years ago

Huh, okay, now this is interesting.

We should also think about having it in AdGuard VPN.

sfionov commented 2 years ago

Some apps can check that location is mocked and refuse to work:

https://developer.android.com/reference/android/location/Location#isFromMockProvider()

However, not an every app checks this.

TPS commented 2 years ago

Probably AG apps can use this as a fallback, but primarily check whether location is active @ all & warn that it should be disabled (for privacy & saving much battery)?