You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Call the openCamera function using react-native-image-crop-picker on iOS.
Observe the loader and app crash.
Check Xcode logs for the error and it shows "Attempted to change to mode Portrait with an unsupported device (BackWideDual). Auto device for both positions unsupported, returning Auto device for same position anyway (BackAuto).
"
Additional Information
iOS device: iPhone 14
iOS version: 17.3.1
Attachments
The text was updated successfully, but these errors were encountered:
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);
}
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
The text was updated successfully, but these errors were encountered: