Android: Find out which third party library is requesting a permission?

Jon

One of my projects has multiple third party libraries and one of those libraries is requesting a permission that I don't have defined in my Manifest. How can I find out which of the libraries is requesting the permission?

If I perform the command:

adb shell dumpsys package [mypackagename]

then I see the permission as "requested", but as I mentioned it doesn't exist in my project. There are a lot of third party libraries.

Dharmaraj

you can find your final permission in merged manifest file at

app/build/intermediates/manifests/full/debug/AndroidManifest.xml

You can get rid of this with

Just declare the incriminated permission in your main Manifest with the tools:node="remove"

like:

<uses-permission android:name=”android.permission.RECORD_AUDIO” tools:node=”remove” />

Even if another third party library is asking for this specific permission, the build will be forced to not merge it in your final Manifest file.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

How to find out which microphone device user gave permission to?

From Dev

Android: Find out which core the thread is running on

From Dev

How to find out, which backend is used for slf4j logging, in third-party library?

From Dev

Find out which Music is currently playing [Android]

From Dev

Writing a library that is optionally dependent on a third party library

From Dev

Dart and third party library integration

From Dev

Using a third party library (sbpl)

From Dev

Error occurs in third party library included Android project

From Dev

Third Party FloatingActionButton Library in CoordinatorLayout

From Dev

How to find out which permission an android application needs

From Dev

Is there a way one can find out which ndk version was used to compile android .so share library?

From Dev

Android 6 requesting a permission

From Dev

Find out if/which BLAS library is used by Numpy

From Dev

Diamond inheritance with a third party library

From Dev

The best way to integrate third party library in Android studio

From Dev

Static library with third party framework

From Dev

How to integrate Adtech third party library of advertising in android

From Dev

How to test Callable method which uses only operations from third-party library?

From Dev

Writing a library that is optionally dependent on a third party library

From Dev

Using third party library in Eclipse for Android

From Dev

Android AAR third party jars

From Dev

Deploying a third party library in perforce

From Dev

Android getting dynamic permission from third party defined permissions

From Dev

Android 6 requesting a permission

From Dev

How to find third party component being used in a third party library

From Dev

How to pass/make an object/variable accessible inside a callback function which is called by a third party library?

From Dev

Use of third-party library

From Dev

How to find out which library includes which support library version

From Dev

How to make RTSP Client on Android without any third party library?

Related Related

  1. 1

    How to find out which microphone device user gave permission to?

  2. 2

    Android: Find out which core the thread is running on

  3. 3

    How to find out, which backend is used for slf4j logging, in third-party library?

  4. 4

    Find out which Music is currently playing [Android]

  5. 5

    Writing a library that is optionally dependent on a third party library

  6. 6

    Dart and third party library integration

  7. 7

    Using a third party library (sbpl)

  8. 8

    Error occurs in third party library included Android project

  9. 9

    Third Party FloatingActionButton Library in CoordinatorLayout

  10. 10

    How to find out which permission an android application needs

  11. 11

    Is there a way one can find out which ndk version was used to compile android .so share library?

  12. 12

    Android 6 requesting a permission

  13. 13

    Find out if/which BLAS library is used by Numpy

  14. 14

    Diamond inheritance with a third party library

  15. 15

    The best way to integrate third party library in Android studio

  16. 16

    Static library with third party framework

  17. 17

    How to integrate Adtech third party library of advertising in android

  18. 18

    How to test Callable method which uses only operations from third-party library?

  19. 19

    Writing a library that is optionally dependent on a third party library

  20. 20

    Using third party library in Eclipse for Android

  21. 21

    Android AAR third party jars

  22. 22

    Deploying a third party library in perforce

  23. 23

    Android getting dynamic permission from third party defined permissions

  24. 24

    Android 6 requesting a permission

  25. 25

    How to find third party component being used in a third party library

  26. 26

    How to pass/make an object/variable accessible inside a callback function which is called by a third party library?

  27. 27

    Use of third-party library

  28. 28

    How to find out which library includes which support library version

  29. 29

    How to make RTSP Client on Android without any third party library?

HotTag

Archive