mirror of
https://github.com/status-im/react-native-image-crop-picker.git
synced 2025-02-23 10:58:16 +00:00
Merge remote-tracking branch 'ivpusic/master'
This commit is contained in:
commit
a766f0ac0a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user