react-native-image-crop-picker
react-native-image-crop-picker copied to clipboard
ImagePicker.openPicker() opens filemanager instead of image gallery in android.
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
same issue.
same issue how i can lanch the image gallery directly
same issue here
@ravi123saxena did you find the solution?