react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

ImagePicker.openPicker() opens filemanager instead of image gallery in android.

Open ravi123saxena opened this issue 3 years ago • 1 comments

Version

Tell us which versions you are using:

  • "react-native-image-crop-picker": "^0.38.0",
  • react-native v0.69.1

Platform

Tell us to which platform this issue is related

  • Android

Expected behaviour

Should open Image galary instead filemanager

Actual behaviour

It opens file manager

Steps to reproduce

ImagePicker.openPicker({ width: 500, height: 500, cropping: cropit, freeStyleCropEnabled: true, cropperCircleOverlay: circular, forceJpg: true, sortOrder: 'none', compressImageMaxWidth: 1000, compressImageMaxHeight: 1000, compressImageQuality: 1, compressVideoPreset: 'MediumQuality', includeExif: true, cropperStatusBarColor: 'white', cropperToolbarColor: 'white', cropperActiveWidgetColor: 'white', cropperToolbarWidgetColor: '#3498DB', }) .then((image) => { console.log('received image', image); imageData.uri = image.path; imageData.width = image.width; imageData.mime = image.mime; imageData.images = null; ImagePicCallBack(imageData) }) .catch((e) => { console.log(e); Alert.alert(e.message ? e.message : e); }); }

Attachments

// stacktrace or any other useful debug info

Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate

ravi123saxena avatar Jul 12 '22 06:07 ravi123saxena

same issue.

AlexCernik avatar Sep 05 '22 20:09 AlexCernik

same issue how i can lanch the image gallery directly

skorchi avatar Oct 05 '22 15:10 skorchi

same issue here

digitalbore avatar Oct 07 '22 16:10 digitalbore

@ravi123saxena did you find the solution?

adityak16 avatar Oct 11 '22 05:10 adityak16