The essence of the question is that I need to put a dynamic test of this perm and I cannot understand exactly where to put it, since everything works fine without this perm.

How can I check at what time what permissions are requested?

Otherwise, I’m thinking of removing it if it works anyway, since I remember what this permiseum wrote when implementing GCM and even left a comment

 <!-- GCM requires a Google account. --> 

But if I delete the perm, then nothing changes, it's strange ...

  • On which versions of the axis did you try? Maybe on older versions it will require? - Silento
  • @Asgard tried on 21 and on 23 - Aleksey Timoshchenko
  • Try 16-19, this is the 4.0+ version, before the lolipop, maybe there will be a difference. - Silento
  • @Asgard my application works with Camera2API , and it requires no less than 21 ... - Aleksey Timoshchenko
  • one
    Yes, you can delete. Here they write stackoverflow.com/a/18444343/4829111 - Android Android

0