0

There are two types of app permissions in case of android apps

  1. Install time permissions- apps take permission while being installed (run at startup, install shortcuts, run in background etc.)
  2. Run time permissions- Users give permission to the app (gallery, camera, contacts etc.)

Can you please give me the separate lists of all the permissions? Also, how to know which permissions are taken by an app?

Eric Gideon
  • 219
  • 1
  • 3
  • 9

2 Answers2

0

The complete list of all permissions available to an app is available here. For runtime permissions you should search for all permissions in the provided link with the Protection level equal to dangerous. For example ACCESS_MEDIA_LOCATION is a runtime (dangerous) permission as stated here.

If you want to check that a specific permission is granted or not, use the following code snippet:

boolean isGranted = ContextCompat.checkSelfPermission(context, Manifest.permission.ACCESS_MEDIA_LOCATION) == PackageManager.PERMISSION_GRANTED
mahdi
  • 598
  • 5
  • 22
-1

For permission list go through this page do some digging you will find required info

Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220
tintin
  • 335
  • 2
  • 8
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Phil Dukhov Feb 09 '22 at 14:22