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

CDV Camera doesn't fire callback under certain conditions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Cannot Reproduce
    • 3.4.0, 3.5.0, 3.6.0
    • None
    • cordova-plugin-camera
    • iOS 8, iPhone 6 — pending test on others

    Description

      Camera doesn't fire callbacks if the targetWidth/Height are set and the source is camera. Other combinations seem to work OK.

      navigator.camera.getPicture(onCaptureSuccess, onCaptureFail, {
      					quality: 40,
      					destinationType: Camera.DestinationType.DATA_URL,
      					targetWidth: 500,
      					targetHeight: 500
      				});
      

      Not sure if this is relevant, but this is what gets outputted in the console:

      2014-09-30 16:43:41.136 eEcosphere[351:50878] Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.

      This has been thoroughly tested.

      Attachments

        Activity

          People

            Unassigned Unassigned
            maxellinger Maxfield Ellinger
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: