Vladimir Kotikov created CB-6920:
------------------------------------

             Summary: "File not found" error when using targetWidth and 
targetHeight on Windows8 with Camera plugin and FILE_URI
                 Key: CB-6920
                 URL: https://issues.apache.org/jira/browse/CB-6920
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Camera
         Environment: Windows 8, Camera plugin 0.3.0
            Reporter: Vladimir Kotikov


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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to