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

低版本targetSdkVersion在android13上无法正确读取数据 #2536

Closed
jin123d opened this issue Nov 21, 2022 · 2 comments
Closed

低版本targetSdkVersion在android13上无法正确读取数据 #2536

jin123d opened this issue Nov 21, 2022 · 2 comments

Comments

@jin123d
Copy link

jin123d commented Nov 21, 2022

Current use version?

当前使用的版本是多少?

3.10.7

Will this problem occur in demo?

Demo能否复现这问题?

可以复现

Describe the problem or provide an error log?

描述问题或提供错误log?

targetSdkVersion 设置为33以下的时候,android13的机器上无法读取相册。
只有将target也设置为33,才能在13的机器上正常工作。

手头的项目target为31,也想在android13上使用,权限就申请普通的android.permission.READ_EXTERNAL_STORAGE就好了。
但是PermissionChecker类中运行环境>=33的时候直接使用android.permission.READ_MEDIA_IMAGES,就没办法正常获取数据了。

@AndroidBreathing
Copy link

我也遇到此问题了 targetSdk升级33就正常了 但是低于 就不显示 设备是Vivo x80 Android 13

@LuckSiege
Copy link
Owner

v3.10.9已修复

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

3 participants