Differences between Uses-Permission and Permissions tag in AndroidManifest.xml

前端 未结 2 1616
旧巷少年郎
旧巷少年郎 2021-01-30 06:25

What is the difference between Uses-Permission and Permissions tag in AndroidManifest.xml . I understood uses-permission

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-30 07:12

    Simply:

    • is for defining a custom permission.

    • is for using a permission in your app.

    You may also be interested in security problems with custom permissions as of Feb. 2018. Their explanation of permissions in section 2 seemed far more clear to me than the documentation.

提交回复
热议问题