'Must remove QUERY_ALL_PACKAGES permission but cannot find it
Google Play Console (App Content section) declares that my published app makes use of
android.permission.QUERY_ALL_PACKAGES
and I want to remove this permission.
I checked my AndroidManifest.xml and the Merged Manifest but I cannot find it.
Where should I look at to find all permissions included by dependencies, libraries, ecc.? Thank you.
Solution 1:[1]
I didn't find exactly where this permission was requested, but there is a simple way to remove it definitely: add this to AndroidManifest.xml
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" tools:node="remove" />
Solution 2:[2]
You can find it in manifest with all other permissions and from there you can remove the line.
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | mdicosimo |
Solution 2 | Arkaprabha Mahata |