mianlaoshu
mianlaoshu

Reputation: 2582

Is there a way to check that which manifest imported some uses-permission?

I removed some sensitive permissions, such as SMS related permission, phone call permissions, and so on, from my app AndroidManifest file. However, I found in the generated full merged AndroidManifest file in the build folder, there still exits such permission. I think this is because some 3rd library using it. The question is, is there some convenient way to find out which component/aar imported such permission? There are too many such modules.

Upvotes: 1

Views: 64

Answers (1)

Sagar
Sagar

Reputation: 24907

You can check it as follows:

  1. Open the Manifest.xml from your app
  2. Click on Merged Manifest tab at the bottom
  3. Select the permission

merged In the Merging log at the bottom, you will see which module added this permission

Upvotes: 3

Related Questions