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

"File not found" error when using targetWidth and targetHeight on Windows8 with Camera plugin and FILE_URI

    XMLWordPrintableJSON

    Details

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

      Windows 8, Camera plugin 0.3.0

      Description

      This is very similar to CB-6613, but this repros when the destination_type is file_uri.
      I have repro'd this with the 0.3.0 version of the camera plugin.

      Repro:
      1. create a new cordova app
      2. add the camera plugin, version 0.3.0 (tagged in Git)
      3. add the window8 platform
      4. use getPicture with targetWidth and targetHeight set and FILE_URI destination

      Result:
      No picture data is returned, the error callback is hit with the message "File not found"
      If you remove targetwidth and targetheight, the camera plugin works.

      Expected:
      camera plugin should work with targetWidth and targetHeight set for FILE_URI destination

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vladimir.kotikov Vladimir Kotikov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: