XPermissionUtils icon indicating copy to clipboard operation
XPermissionUtils copied to clipboard

彻底禁止权限冲突

Open Vicent9920 opened this issue 7 years ago • 2 comments

在小米5手机上测试发现,当申请多个权限被拒绝部分权限时,系统虽然返回了hasAlwaysDeniedPermission(彻底禁止权限)等于true,但是系统依然再次申请了权限,而demo中需要我们再次申请,这个时候页面就会有权限申请的系统弹窗以及我们开启的Dialog,这里应该怎么处理呢?

Vicent9920 avatar Jun 25 '18 03:06 Vicent9920

刚刚检查发现是我在onResume生命周期里面重复请求了,但是在设置页面回来后,有没有办法继续检查权限是否被开启呢?

Vicent9920 avatar Jun 25 '18 07:06 Vicent9920

可以看看这个,也很不错 https://www.jianshu.com/p/c69ff8a445ed

880634 avatar Jul 04 '18 01:07 880634