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

前端 未结 4 840
清歌不尽
清歌不尽 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条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-18 03:32

    No, you shouldn't ask for INTERNET permission at runtime.

    INTERNET belongs to the Normal permissions group, which are automatically granted by the system if they're declared in the Manifest, as mentioned in this document:

    Normal permissions do not directly risk the user's privacy. If your app lists a normal permission in its manifest, the system grants the permission automatically.

提交回复
热议问题