You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Don Becker (JIRA)" <ji...@apache.org> on 2015/04/02 16:51:52 UTC

[jira] [Created] (CB-8787) WP8 Camera returning Blob instead of File URI

Don Becker created CB-8787:
------------------------------

             Summary: 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


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