You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/08/23 13:03:44 UTC

[GitHub] [cordova-plugin-camera] vlinde opened a new issue #492: iOS 13 camera not working as expected

vlinde opened a new issue #492: iOS 13 camera not working as expected
URL: https://github.com/apache/cordova-plugin-camera/issues/492
 
 
   # Bug Report
   
   ## Problem
   On iOS 13 the camera is not working as expected.
   
   ### What is expected to happen?
   To save the image with content in the temp folder and to return the location.
   
   ### What does actually happen?
   The image is saved and the plugin returns the path but the image content is missing.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   I use the following settings to open the camera.
   ```
   {
         sourceType: camera.PictureSourceType.CAMERA,
         destinationType: camera.DestinationType.FILE_URI,
         quality: 92,
         encodingType: camera.EncodingType.JPEG,
         correctOrientation: true,
         saveToPhotoAlbum: false
   }
   ```
   When I use `camera.DestinationType.DATA_URL` instead of `camera.DestinationType.FILE_URI` I get the base64 code.
   
   
   ### Environment, Platform, Device
   Tested on iOS 13 beta 6 & 7.
   
   
   ### Version information
   ```
   Ionic:
   
      ionic (Ionic CLI)  : 4.12.0 (/usr/local/lib/node_modules/ionic)
      Ionic Framework    : ionic-angular 3.9.5
      @ionic/app-scripts : 3.2.4
   
   Cordova:
   
      cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
      Cordova Platforms     : android 6.4.0, ios 5.0.1
      Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 34 other plugins)
   
   System:
   
      ios-deploy : 1.9.4
      ios-sim    : 8.0.1
      NodeJS     : v11.11.0 (/usr/local/Cellar/node/11.11.0/bin/node)
      npm        : 6.7.0
      OS         : macOS Mojave
      Xcode      : Xcode 11.0 Build version 11M392q
   
   ```
   
   ## 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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org