ath0mas opened a new issue, #287: URL: https://github.com/apache/cordova-plugin-media-capture/issues/287
# Feature Request ## Motivation Behind Feature <!-- Why should this feature be implemented? What problem does it solve? --> [Grant partial access to photos and videos](https://developer.android.com/about/versions/14/behavior-changes-all#partial-photo-video-access) is part of Android 14 [Behavior changes: all apps](https://developer.android.com/about/versions/14/behavior-changes-all). And so, `apply to all apps when they run on Android 14, regardless of targetSdkVersion`! ## Feature Description <!-- Describe your feature request in detail Please provide any code examples or screenshots of what this feature would look like Are there any drawbacks? Will this break anything for existing users? --> > Android 14 introduces Selected Photos Access, which allows users to grant apps access to specific images and videos in their library, rather than granting access to all media of a given type. So, either: - replace implementation and better use [Photo picker](https://developer.android.com/training/data-storage/shared/photopicker) instead - adapt own code for "gallery picker", managing select or reselect media scenarios with `READ_MEDIA_x` permissions and the new `READ_MEDIA_VISUAL_USER_SELECTED` permission ## Alternatives or Workarounds <!-- Describe alternatives or workarounds you are currently using Are there ways to do this with existing functionality? --> If not implemented correctly > .. the system runs your app in a compatibility mode whenever the user needs to select or reselect media See [Compatibility mode](https://developer.android.com/about/versions/14/changes/partial-photo-video-access#compatibility-mode). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
