AndrWeisR commented on issue #826:
URL: 
https://github.com/apache/cordova-plugin-camera/issues/826#issuecomment-1563674714

   Same error here. Here's my code. I'm upgrading my Ionic app (where selecting 
a photo from the gallery previously worked) to support API 33, using Cordova 
12.0.0. I upgraded the camera plugin to 6.0.0, but still get error 20.
   
   ```
       const options: CameraOptions = {
         mediaType: this.camera.MediaType.PICTURE,
         correctOrientation: true,
         targetWidth: 1024,
         sourceType: this.camera.PictureSourceType.PHOTOLIBRARY,
         destinationType: this.camera.DestinationType.FILE_URI
       };
   
       this.camera.getPicture(options).then((imageData) => {
           ....
       }, (err) => {
         console.log(err); <== This outputs "20".
       });
   ```


-- 
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

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