Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8787

WP8 Camera returning Blob instead of File URI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: cordova-plugin-camera
    • Labels:
      None
    • Environment:

      Windows 8 and Windows Phone 8

      Description

      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

      successCallback(URL.createObjectURL(storageFile));

      I believe that should be changed to this

      successCallback("ms-appdata:///local/" + storageFile.name);

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                muratsu Murat Sutunc
                Reporter:
                psyon Don Becker
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: