kristapspicelevics opened a new issue, #864:
URL: https://github.com/apache/cordova-plugin-camera/issues/864

   # Bug Report
   
   ## Problem
   
   On iOS 16+ when you open camera it crashes and closes the camera
   
   ### What is expected to happen?
   
   The camera should open
   
   ### What does actually happen?
   
   App crashes when you open camera
   
   It also gives warning as follows:
   
   **Attempted to change to mode Portrait with an unsupported device 
(BackWide). Auto device for both positions unsupported, returning Auto device 
for same position anyway (BackAuto).**
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   
   Before mentioned warning does not appear with iOS 15.7.2 and below
   
   const options: CameraOptions = {
     quality: 90,
     destinationType: Camera.DestinationType.FILE_URI,
     encodingType: Camera.EncodingType.JPEG,
     mediaType: Camera.MediaType.PICTURE,
     sourceType: Camera.PictureSourceType.CAMERA,
     correctOrientation: true,
     targetWidth: 700
   }
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   await Camera.getPicture(options).then((result) => {
       ...
   });
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   
   iPhone 17.0.3 iOS version 
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   
   cordova-plugin-version: 6.0.0
   Ionic 5.5.2
   xCode 15.0
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ x ] I searched for existing GitHub issues
   - [ x ] I updated all Cordova tooling to most recent version
   - [ x ] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to