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

WP8 Camera returning Blob instead of File URI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Master
    • None
    • cordova-plugin-camera
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: