Open emanu7478 opened 6 months ago
@emanu7478 - Did you ever find a solution to this issue? I'm currently experiencing the same thing.
use setTimeout before call the imagepicker, its working fine like this const takePhotoFromLibray = (imageData: any) => { setTimeout(() => { ImagePicker.openPicker({ cropping: true, }).then(image => { console.log(image) }); }, 500); }
The same problem
Version
Platform
Expected behaviour
The openCamera function should successfully open the camera without any crashes or errors.
Actual behaviour
The app crashes when trying to open the camera, and an error related to the camera mode and device compatibility is shown.
Steps to reproduce
Additional Information
Attachments