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

android13版本的红米Note12的奇葩问题 #280

Open
ail36413 opened this issue May 24, 2024 · 0 comments
Open

android13版本的红米Note12的奇葩问题 #280

ail36413 opened this issue May 24, 2024 · 0 comments

Comments

@ail36413
Copy link

ail36413 commented May 24, 2024

PermissionX.init(this)
.permissions(
android.Manifest.permission.READ_EXTERNAL_STORAGE,
android.Manifest.permission.WRITE_EXTERNAL_STORAGE,
)
.request { allGranted, grantedList, deniedList ->
Log.e("MainActivity","allGranted1:"+allGranted)
}
代码一运行就会打印日志true,权限申请框我都还没点击呢,我点击拒绝无回调,关闭APP重新运行,还是打印true,
经过测试,一打开app就运行权限申请,就会这样,如果是点击按钮去申请,就没这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant