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

Not support permission "android.permission.READ_MEDIA_VISUAL_USER_SELECTED" on android 14 #102

Closed
vnhanh opened this issue Feb 29, 2024 · 2 comments

Comments

@vnhanh
Copy link

vnhanh commented Feb 29, 2024

Hi team,
First, I would like to thank your team for quick support in this issue: #101.

For now, I raise new issue related to new permission READ_MEDIA_VISUAL_USER_SELECTED on Android 14. This new permission was wrote in this link: https://developer.android.com/about/versions/14/changes/partial-photo-video-access.

Version: 1.7.15.
Step by step:

  1. On Android 14, user tap Add Photo button, my app shows the Permission Request dialog.
  2. User allow "Choose Photos and Videos" permission, user select videos of their preference, so my app using the library to trim video.

Expected result: my app show the Trim video screen.
Actual result: my app can't not show the Trim video screen and show failed message.

After that, I checked code and saw that the library's code not support the permission android.permission.READ_MEDIA_VISUAL_USER_SELECTED:
image
Image 1. The library's code with version 1.7.15 not support checking permission READ_MEDIA_VISUAL_USER_SELECTED on android 14.

image
Image 2. Request permission dialog on android 14

I tried to update the latest version 1.7.18, but the issue still exist.
image
Image 3. The library's code on version 1.7.18

Please help me, thanks very much!

@a914-gowtham
Copy link
Owner

a914-gowtham commented Feb 29, 2024

Hi @vnhanh fixed in 1.7.19.

@vnhanh
Copy link
Author

vnhanh commented Mar 1, 2024

Hi @a914-gowtham thanks very much! Have a nice day!

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

2 participants