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

Not able to Zoom Out when editing photos via allowEdit:true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.3.0
    • None
    • cordova-plugin-camera
    • iOS

    Description

      When you take a photo with the camera on iOS and then set getPicture with allowEdit: true, you are not able to zoom out of the photo. When you pinch and zoom out, it bounces back to the center.

      Sample Code:

      navigator.camera.getPicture(Photo.getSuccess, Photo.getFail, {quality: 45, destinationType: destinationType.FILE_URI, sourceType: pictureSource.CAMERA, correctOrientation: true, encodingType: encoding.JPEG, saveToPhotoAlbum: true, targetWidth: 910, targetHeight: 910, allowEdit: true});
      

      Steps to Produce:

      1. Download Untappd 2.2 for iOS
      2. On the confirm screen for a beer, select "Add Photo"
      3. Choose Camera
      4. Take a picture in portrait mode
      5. Try to zoom out to have the whole photo in the picture.

      Is this because of the target height and width?

      Attachments

        Issue Links

          Activity

            People

              jcesarmobile jcesarmobile
              gregavola Greg
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: