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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to