GitHub user vladimir-kotikov opened a pull request:
https://github.com/apache/cordova-plugin-camera/pull/31
CB-6920 "File not found" error when using targetWidth and targetHeight on
Windows8 with Camera plugin and FILE_URI
Issue [CB-6920](https://issues.apache.org/jira/browse/CB-6920)
When using getPicture with targetWidth and targetHeight set and FILE_URI
destination 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.
Reason - incorrect usage of File plugin.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-plugin-camera CB-6920
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-camera/pull/31.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #31
----
commit ffd46c4ef503bee65cfc9ad5e0ca8ff2d3fa3114
Author: Vladimir Kotikov <[email protected]>
Date: 2014-06-11T08:49:58Z
Use WinJS functionality to resize image instead of File plugin functionality
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---