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

iPad simulator not working with Photo Library, images are empty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.0.0
    • None
    • cordova-plugin-camera
    • None
    • iPad Simulators 6.0 -> 7.0 haven't tested below ios6

    Description

      In the iPad simulator, acquiring a photo results in empty file. When I tested with both temporary and permanent filesystem, i get the same result.

      navigator.camera.getPicture(onSuccess, onFail, {
      destinationType: Camera.DestinationType.FILE_URI,
      sourceType: Camera.SourceType.PHOTOLIBRARY,
      limit: 1,
      quality : 50,
      targetHeight: 640,
      targetWidth: 640
      });

      Works fine on all iPhone simulators, iPad is the only one doing this. I don't have a physical iPad to test this with.

      Attachments

        Activity

          People

            jcesarmobile jcesarmobile
            kolektiv Daniel Roizman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: