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

getPicture fails when getting a photo from the Photo Library - Google Photos

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Master, 6.0.0
    • Fix Version/s: 6.0.0
    • Component/s: cordova-plugin-camera
    • Environment:

      cordova-plugin-camera 2.1.0, cordova-android 5.1.0, android 5.0.2, no crosswalk

      Description

      Hi,

      Since I updated Cordova to 6.0.0, camera.getPicture always fails and returns: "error retrieving image".

      Here are the parameters I use:

      {
      quality: 100,
      targetHeight: 250,
      targetWidth: 250,
      destinationType: Camera.DestinationType.FILE_URI,
      sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY,
      allowEdit: true,
      encodingType: Camera.EncodingType.JPEG,
      correctOrientation: true
      }

      Thanks by advance

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bowserj Joey Robert Bowser
                Reporter:
                Tomsdev Tom Nonk
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: