cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Becker (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-8787) WP8 Camera returning Blob instead of File URI
Date Thu, 02 Apr 2015 14:51:52 GMT
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


Mime
View raw message