Closed uson1x closed 3 years ago
Apparently, ChooserType.CAMERA_AND_GALLERY is using ACTION_PICK, which does not officially support EXTRA_ALLOW_MULTIPLE per https://stackoverflow.com/a/46017219/1138144.
The solution is to use ChooserType.CAMERA_AND_DOCUMENTS, which uses ACTION_GET_CONTENT. ACTION_GET_CONTENT supports multiple image selection on Samsung devices as well as on othres (via hold/long press gesture).
Closing this issue.
Same issue was fixed here before: https://github.com/jkwiecien/EasyImage/issues/224
However, it has resurfaced once again.
Tested with EasyImage 3.2.0 on Samsung Galaxy A51 (Android 11).
This is how I initialize EasyImage:
On Pixel 4a, the multiple selection works fine with the same code.
But on Samsung, the multiple selection UI is missing and it only select single photos: