|
...
|
...
|
@@ -344,6 +344,7 @@ class PickerModule extends ReactContextBaseJavaModule implements ActivityEventLi |
|
|
|
|
|
|
|
if (cropping || mediaType.equals("photo")) {
|
|
|
|
final Intent libraryIntent = new Intent(Intent.ACTION_PICK,MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
|
|
|
|
libraryIntent.setType("image/*");
|
|
|
|
activity.startActivityForResult(libraryIntent, IMAGE_PICKER_REQUEST);
|
|
|
|
return;
|
|
|
|
}
|
...
|
...
|
|