On Android 14, user tap Add Photo button, my app shows the Permission Request dialog.
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_USERSELECTED:
Image 1. The library's code with version 1.7.15 not support checking permission READ_MEDIA_VISUAL_USER_SELECTED on android 14.
Image 2. Request permission dialog on android 14
I tried to update the latest version 1.7.18, but the issue still exist.
Image 3. The library's code on version 1.7.18
Hi team, First, I would like to thank your team for quick support in this issue: https://github.com/a914-gowtham/android-video-trimmer/issues/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:
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_USERSELECTED: Image 1. The library's code with version 1.7.15 not support checking permission READ_MEDIA_VISUAL_USER_SELECTED on android 14.
Image 2. Request permission dialog on android 14
I tried to update the latest version 1.7.18, but the issue still exist. Image 3. The library's code on version 1.7.18
Please help me, thanks very much!