here is my code :
if (option === "camera") {
image = await ImageCropPicker.openCamera({
width: 1000,
height: 1000,
cropping: true,
useFrontCamera: true,
includeBase64: true,
});
} else {
image = await ImageCropPicker.openPicker({
width: 1000,
height: 1000,
cropping: true,
freeStyleCropEnabled: true,
includeBase64: true,
});
}