You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Murat Sutunc (JIRA)" <ji...@apache.org> on 2015/04/16 23:31:59 UTC
[jira] [Closed] (CB-8787) WP8 Camera returning Blob instead of File
URI
[ https://issues.apache.org/jira/browse/CB-8787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Murat Sutunc closed CB-8787.
----------------------------
Assignee: Murat Sutunc
> WP8 Camera returning Blob instead of File URI
> ---------------------------------------------
>
> Key: CB-8787
> URL: https://issues.apache.org/jira/browse/CB-8787
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Affects Versions: Master
> Environment: Windows 8 and Windows Phone 8
> Reporter: Don Becker
> Assignee: Murat Sutunc
>
> When capturing an image using a source other than CAMERA, a Blob URL is returned, rather than a file URI.
> https://github.com/apache/cordova-plugin-camera/blob/master/src/windows/CameraProxy.js#L168
> {quote}
> successCallback(URL.createObjectURL(storageFile));
> {quote}
> I believe that should be changed to this
> {quote}
> successCallback("ms-appdata:///local/" + storageFile.name);
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org