Android unrequested ACCESS_COARSE_LOCATION permission

465 views Asked by At

I noticed that during my application's install, it requests "approximate location (network-based)" permission. I haven't asked for ACCESS_COARSE_LOCATION in the manifest, but I'm using three SDKs which are the only suspects.

The SDKs in use are: Facebook, Flurry and Parse.

The declared permissions in the manifest are:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE"/>

How can I find out who is asking for ACCESS_COARSE_LOCATION permission?

Flurry docs mention that ACCESS_FINE_LOCATION is an optional permission, but nothing said about ACCESS_COARSE_LOCATION.(https://developer.yahoo.com/flurry/docs/analytics/gettingstarted/android/)

I couldn't find info regarding Facebook and Parse network related permissions.

1

There are 1 answers

0
Atetc On

If you don't want to have a permission from third-party dependencies, easiest way is declaring in your manifest all permissions with "remove" tag:

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" tools:node="remove"/>