You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/04/01 07:51:15 UTC

[GitHub] [cordova-plugin-camera] fcsteenkamp commented on issue #718: Crop not working on Android 10 and 11

fcsteenkamp commented on issue #718:
URL: https://github.com/apache/cordova-plugin-camera/issues/718#issuecomment-811720397


   Also have the same issue, but currently only on Android 11. Got it working on Android 10.
   
   **Environment**
   Cordova Android 9.0.0
   cordova-plugin-camera 4.1.0
   android:requestLegacyExternalStorage="true" is added to AndroidManifest.xml
   
   ` $scope.takePicture = function () {
               var options = {
                   quality: 85,
                   destinationType: Camera.DestinationType.DATA_URL,
                   sourceType: Camera.PictureSourceType.CAMERA,
                   allowEdit: true,
                   encodingType: Camera.EncodingType.JPEG,
                   targetWidth: 800,
                   targetHeight: 600,
                   popoverOptions: CameraPopoverOptions,
                   saveToPhotoAlbum: true
               };`
   


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



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