Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

[Idea] AndroidX Activity added ActivityResultContracts$PickVisualMedia. modernstorage-photopicker won't be needed anymore. #94

Open
VincentJoshuaET opened this issue Apr 29, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@VincentJoshuaET
Copy link

VincentJoshuaET commented Apr 29, 2022

Version 1.6.0-alpha03

April 27, 2022

androidx.activity:activity:1.6.0-alpha03, androidx.activity:activity-compose:1.6.0-alpha03, and androidx.activity:activity-ktx:1.6.0-alpha03 are released.

  • Note: This version will only compile against the Android 13 Developer Beta 1 SDK.

New Features

  • Added ActivityResultContracts.PickVisualMedia and ActivityResultContracts.PickMultipleVisualMedia for providing a backward compatible contract that uses MediaStore.ACTION_PICK_IMAGES when the Photo Picker is available and Intent.ACTION_OPEN_DOCUMENT when it is not available.
@VincentJoshuaET VincentJoshuaET added the enhancement New feature or request label Apr 29, 2022
@yrezgui
Copy link
Collaborator

yrezgui commented May 1, 2022

Good spot @VincentJoshuaET! I actually wrote a big part of PickVisualMedia and PickMultipleVisualMedia. I'll be working on it next week

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants