Tell us which versions you are using:
Tell us to which platform this issue is related
Open Camera Picker
Got Error when ImagePicker.openCamera() is pressed
[Sun Nov 01 2020 16:18:25.873] ERROR Error: Exception in HostFunction: Malformed calls from JS: field sizes are different.
[[40,37],[2,0],[[25,100,1604218705565,false]],583]
npm i react-native-image-crop-picker --save
npx react-native start
npx react-native run-android
It said the source came from NativeModule.js
// stacktrace or any other useful debug info
Love react-native-image-crop-picker? Please consider supporting our collective:
point_right https://opencollective.com/react-native-image-crop-picker/donate

facing same issue
Hi, @viralwebelight @muhdlaziem I solved this issue by changing to promise on Class ImagePicker
Was :
ImagePicker.openCamera(
{
width: 1024,
height: 720,
includeBase64: true,
},
(response) => {
.......
}
);
Now :
ImagePicker.openCamera({
width: 1024,
height: 720,
includeBase64: true,
}).then((response) => {
......
});
I hope this solution solve your problem 馃槈
Most helpful comment
facing same issue