yanzhenjie / AndPermission

:strawberry: Permissions manager for Android platform.
https://yanzhenjie.com/AndPermission
Apache License 2.0
6.63k stars 1.1k forks source link

可以更新适配一下android11么 #656

Open haijun0124 opened 4 years ago

haijun0124 commented 4 years ago

感谢作者的开源,android11出来了,这边会进行适配不?

mallxiaodoudou commented 3 years ago

同问

yanzhenjie commented 3 years ago

会的,近期就会搞!

haijun0124 commented 3 years ago

会的,近期就会搞!

辛苦作者,感谢对我们开发者提供的便利

mallxiaodoudou commented 3 years ago

感谢提供便利,能不能提一个小意见 新版本每次申请权限都要一个Loading一闪而过,大部分情况已经有权限了 Loading会一闪而过很影响体验啊,能不能默认不提供Loading 如果需要Loading的场景可通过Builder去启动Loading

Skqing commented 3 years ago

AndPermission的版本:2.0.3 手机型号/品牌型号:RedmiK30 品牌系统版本:12 Android系统版本:10 项目targetSdkVersion:30 申请的权限:
Permission.CAMERA, Permission.READ_EXTERNAL_STORAGE, Permission.WRITE_EXTERNAL_STORAGE, Permission.ACCESS_FINE_LOCATION, Permission.ACCESS_COARSE_LOCATION, Permission.ACCESS_BACKGROUND_LOCATION 发生问题的场景和操作步骤 发生问题的场景: 进入activity申请定位等权限 AndPermission.with(this) .runtime() .permission( Permission.CAMERA, Permission.READ_EXTERNAL_STORAGE, Permission.WRITE_EXTERNAL_STORAGE, Permission.ACCESS_FINE_LOCATION, Permission.ACCESS_COARSE_LOCATION, Permission.ACCESS_BACKGROUND_LOCATION ) .onGranted(permissions -> {

            })
            .onDenied(permissions -> {

            })
            .start();

申请上面的权限时没有弹框,查看应用详情中的授权情况定位权限为询问,导致无法获取到定位权限。 并且WRITE_EXTERNAL_STORAGE权限在详情中查看是始终允许,但仍然会返回申请失败

cuibg commented 3 years ago

image 这句话说了一年了

Skqing commented 3 years ago

17个月没更新了啊,是要放弃了吗?还是希望能继续更新啊!

cuibg commented 3 years ago

已经换成了PermissionsDispatcher https://github.com/permissions-dispatcher/PermissionsDispatcher

Skqing commented 3 years ago

主要是换框架也麻烦,唉,再等一周吧,如果还没更新就换了吧,没办法了!

Skqing commented 3 years ago

https://github.com/getActivity/XXPermissions 找到这个框架,貌似也不错,一周之后不行就打算换了,唉,无奈!

Skqing commented 3 years ago

已经切换了,没办法项目要上线啊,感谢作者的付出!