diff --git a/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java b/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java index 967bc8c..1c707f0 100644 --- a/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java +++ b/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java @@ -302,7 +302,9 @@ class PickerModule extends ReactContextBaseJavaModule implements ActivityEventLi if (cropping) { galleryIntent.setType("image/*"); } else { - galleryIntent.setType("image/*,video/*"); + String[] mimetypes = {"image/*", "video/*"}; + galleryIntent.setType("*/*"); + galleryIntent.putExtra(Intent.EXTRA_MIME_TYPES, mimetypes); } galleryIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, multiple);