Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8118

Camera Plugin : since IOS 8.0.2 image is not cropped after editing it (allowEdit=true)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: cordova-plugin-camera
    • Environment:

      cordova 3.6.3
      Camera Plugin 0.3.2
      iOS

      Using Phonegap Build

      Description

      Dear Sir or Madame,

      we use the allowEdit=true functionality in our getPicture Method.
      This works like a charm on Android or IOS 7.1.2.

      On IOS 8.0.2 the dialog for selecting the image area is opened, but after clicking OK the image isnt cropped so the original ratio is still there.

      Is this a known issue?

      This ist our getPictureMethod:

       navigator.camera.getPicture(
                  							app.setTempPic,
                                              function(message) { alert('get picture failed'); },
                                              { 
                                              	targetWidth: 500,
      											targetHeight: 500,
      											correctOrientation : true,
                                              	quality: 50, 
                                              	allowEdit : true,
                                              	destinationType: navigator.camera.DestinationType.FILE_URI,
                                              	sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY 
                                              }
                                              );
      

      Thanks in advance and have a nice day

        Attachments

          Activity

            People

            • Assignee:
              jcesarmobile jcesarmobile
              Reporter:
              ondy Andreas Schröder
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: