guolindev / PermissionX

An open source Android library that makes handling runtime permissions extremely easy.
Apache License 2.0
3.53k stars 406 forks source link

PermissionX.isGranted(mContext, it) 是不是没法用来判断特殊权限是否已经申请到?比如MANAGE_EXTERNAL_STORAGE #251

Open jamgudev opened 1 year ago

pengguanming commented 4 months ago

Environment.isExternalStorageManager()来检测是否可以拥有MANAGE_EXTERNAL_STORAGE,请参考https://ourcodeworld.com/articles/read/1559/how-does-manage-external-storage-permission-work-in-android