2

I'm trying to update my application to support v23 properly especially in terms of the new permission model. Unfortunately I'm kinda confused when it comes to the GET_ACCOUNTS permission. According to Table 1 (Dangerous permissions and permission groups) the GET_ACCOUNTS permission is classified as dangerous though when you look at the Manifest.permission docs the Protection Level is set to normal which basically means that I don't need to request the permission from the user.
I've looked at the App Info -> Permissions page and the contacts permission can be revoked which seems to indicate that it is indeed a dangerous permission.

So basically the questions are:

  • Is it really a dangerous permission?
  • Is this permission required for GCM if my app is targeting only API-Level 14 and higher? (seems like this isn't the case)
Community
  • 1
  • 1
user3420815
  • 775
  • 9
  • 20

1 Answers1

1

Yes, the permission is dangerous since dp3. And no with the latest Google play services, this permission is not needed to use GCM.

greywolf82
  • 21,813
  • 18
  • 54
  • 108
  • I am developing an app in the rage API 9 to API 23. Then is there need the permission on manifest file? – Vinil Chandran Feb 02 '16 at 17:40
  • @VinilChandran What's changed is in Google Play Services, so no problem even if you're targeting API 9, as long as you're using the recent Play Services version. – Sohayb Hassoun Mar 29 '16 at 20:00