Android App not asking for permissions when installing

前端 未结 3 931
孤街浪徒
孤街浪徒 2020-12-16 12:31

I work in the IT department of my university and we work on an app that installs the correct setup for the eduroam WiFi (maybe you have heard of it).

However I have

3条回答
  •  余生分开走
    2020-12-16 13:00

    If your target SDK version is 23 then you need to ask for "dangerous" permissions at run time.

    If this is the case then you should be able to see that no permissions have been granted if you go to Settings > Apps > "Your app" > Permissions.

    If you don't want to do implement the new system yet then you can reduce your target sdk version to 22 to get the old permission system. You can still compile with sdk version 23 though.

    See the documentation for more information.

提交回复
热议问题