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适配怎么处理呢?求助 #879

Open
helloqxy opened this issue Jul 26, 2022 · 4 comments
Open

Android13适配怎么处理呢?求助 #879

helloqxy opened this issue Jul 26, 2022 · 4 comments

Comments

@helloqxy
Copy link

targetSdkVersion 33后整个选择图片页面空白。

@helloqxy helloqxy changed the title Android13适配 Android13适配怎么处理 Jul 26, 2022
@helloqxy helloqxy changed the title Android13适配怎么处理 Android13适配怎么处理呢?求助 Jul 26, 2022
@REBOOTERS
Copy link
Contributor

https://github.com/REBOOTERS/Matisse

@SerBad
Copy link

SerBad commented Dec 7, 2022

所以你是具体做了什么适配到了Android13了

@REBOOTERS
Copy link
Contributor

所以你是具体做了什么适配到了Android13了

val permission = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { listOf(Manifest.permission.READ_MEDIA_IMAGES, Manifest.permission.READ_MEDIA_VIDEO) } else { listOf(Manifest.permission.WRITE_EXTERNAL_STORAGE) }

@snail9527
Copy link

所以你是具体做了什么适配到了Android13了

val permission = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { listOf(Manifest.permission.READ_MEDIA_IMAGES, Manifest.permission.READ_MEDIA_VIDEO) } else { listOf(Manifest.permission.WRITE_EXTERNAL_STORAGE) }

拍照还是不行吧,接入后,选择拍照还是会挂掉

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

4 participants