Is the request for internet persmission required at runtime (Android)?

前端 未结 4 855
清歌不尽
清歌不尽 2021-01-18 02:46

For Android, it is required that we ask permissions at runtime to make sure users understand better why en when permissions are needed. I know this is true for permissions l

4条回答
  •  猫巷女王i
    2021-01-18 03:34

    Internet permissions work as pre-sdk 23 permissions. Permission is given at installation of the app.

    INTERNET permissions are regarded as PROTECTION_NORMAL.

    If an app declares in its manifest that it needs a normal permission, the system automatically grants the app that permission at install time. The system does not prompt the user to grant normal permissions, and users cannot revoke these permissions.

    Dangerous permission require runtime permission management. They are also in 'permission groups' so once runtime permission is granted for one permission from that group, it does not need to be granted for other permissions from the same group.

    Also permssions can be granted at runtime and set as default acceptance, which can also be revoked at any time by the user.

提交回复
热议问题