ImagePicker
ImagePicker copied to clipboard
Gallery Option does not List gallery app
Summary
The gallery option list all documents and and shows images recent images. But it does not list the default gallery app or Google photos app which can have different folders for easy selection of picture.
Code to reproduce
The issue is because the Intent is set to open a document I was able to list the gallery apps by use the below intent
val galleryIntent = Intent(Intent.ACTION_GET_CONTENT)
galleryIntent.addCategory(Intent.CATEGORY_OPENABLE);
galleryIntent.addFlags(FLAG_GRANT_READ_URI_PERMISSION);
galleryIntent.addFlags(FLAG_GRANT_WRITE_URI_PERMISSION);
galleryIntent.setType("image/*")
Android version
Android 11
Impacted devices
All
Why did you close your PR? Did you find another solution?
The gallery app is very important, without this option I will not use this library. Because as a user of the app I'd be very annoyed