-
Notifications
You must be signed in to change notification settings - Fork 116
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
Show message "Storage permission denied" on android 13 and 14 #101
Comments
@HanhVoS3Corp Hi, i think ACCESS_MEDIA_LOCATION is not needed for this library as it is used to fetch meta like latlng(location) of image/video. so, i will remove it and will share a build version here. |
@HanhVoS3Corp fixed in 1.7.18 |
I just noticed the library version you mentioned. seems like in that version android 13 permission changes were not handled. use the latest version |
Thanks for helping. Have a good day ! |
Hi everyone, I faced issue related storage permission when trimming video on android 13 and android 14.
Step reproduces:
android 13: READ_MEDIA_IMAGES, READ_MEDIA_VIDEO, ACCESS_MEDIA_LOCATION
android 14: READ_MEDIA_IMAGES, READ_MEDIA_VIDEO, ACCESS_MEDIA_LOCATION, READ_MEDIA_VISUAL_USER_SELECTED
TrimVideo.activity(mediaPath).start(controller, trimmerVideoActivityResult)
After that, I opened the source code of the library and found that the lib check READ_EXTERNAL_STORAGE and ACCESS_MEDIA_LOCATION for android 10 or higher. This way is not okay for android 13 and 14.
![image](https://private-user-images.githubusercontent.com/155606453/295171377-0ce16920-bddb-4468-a1ec-cf5187a0661e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3NjI1MDQsIm5iZiI6MTcyMDc2MjIwNCwicGF0aCI6Ii8xNTU2MDY0NTMvMjk1MTcxMzc3LTBjZTE2OTIwLWJkZGItNDQ2OC1hMWVjLWNmNTE4N2EwNjYxZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMlQwNTMwMDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03OTg5YWI3Zjk3MThjODliMjRmNmUzZjliYWFjMjI2NDc2MDdhMzRjZWY3ODllNTU4NzJlNzRmYzcwZTkzMzVkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.oGFKWBgJz-hOaDMzmRwUMb7Tkjf9btGrPVZ0yRApunQ)
Library version: 1.7.3
Please team help me this case, thanks.
The text was updated successfully, but these errors were encountered: