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

On Windows 8, Camera.getPicture does not return file URI

    XMLWordPrintableJSON

    Details

      Description

      The camera.getPicture method returns a blob: URI when a File URI is requested.

      I've been able to tweak it to my needs by changing:
      _imageUrl = URL.createObjectURL(storageFile);

      to:
      var _imageUrl = storageFile.path;

      However the result is not strictly speaking a FILE URI, so that may not be the preferred solution.

        Attachments

          Activity

            People

            • Assignee:
              purplecabbage Jesse MacFadyen
              Reporter:
              youval.bronicki@gmail.com Youval Bronicki
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: