Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

正常申请存储权限时,永久拒绝,然后再应用设置页开启权限询问,系统权限申请弹窗未显示 #100

Closed
hyl87 opened this issue Oct 27, 2021 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@hyl87
Copy link

hyl87 commented Oct 27, 2021

问题描述

  • 框架版本:12.6

  • 问题描述:正常申请存储权限时,永久拒绝,然后再应用设置页开启权限询问,系统权限申请弹窗未显示

  • 复现步骤:正常申请存储权限时,永久拒绝,然后再应用设置页开启权限询问,系统权限申请弹窗未显示

  • 是否必现:填是/否

  • 手机信息:米10 / Android 11

调试发现 grantResults 返回都是-1,不知道为啥,我已经在系统的权限管理,开启了存储权限了

@hyl87 hyl87 added the bug Something isn't working label Oct 27, 2021
@getActivity
Copy link
Owner

小伙子,我根据你的描述步骤,先把存储权限永久拒绝了,然后再去权限设置页设置成询问状态,最后再点击申请存储权限,系统授权弹窗是可以正常弹出的。

@getActivity
Copy link
Owner

我的测试手机是红米 K20,Android 11

@getActivity
Copy link
Owner

小伙子,你换别的手机试一下看看会不会?

@getActivity
Copy link
Owner

getActivity commented Oct 27, 2021

XXPermissions/issues/99,小伙子,你看看这个 issue 是不是跟你同一个问题?

@getActivity
Copy link
Owner

小伙子,结果咋样了?还有你如果长时间不回复的话,我会认为你的问题已经解决了,我就会主动关闭这个 issue 了。

@hyl87
Copy link
Author

hyl87 commented Oct 28, 2021

米10 有这个问题 其他手机没得

@hyl87
Copy link
Author

hyl87 commented Oct 28, 2021

我看试下那个 关闭 miui优化看看

@hyl87
Copy link
Author

hyl87 commented Oct 28, 2021

可以了关闭了

@hyl87 hyl87 closed this as completed Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants