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

[cordova-plugin-file] error writing file when data is an URI reference in WP8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.6.0
    • Component/s: cordova-plugin-file
    • Labels:

      Description

      When using File API to write a file and as data to write that file reference it's a reference instead of the data, or the data is instance of a File or Blob, the right workflow is read the source file, get the data, to later write it to the new file.
      Over WP8, is not possible use that workflow using readAsDataURL.
      Found through mobilespec File tests.

        Attachments

          Activity

            People

            • Assignee:
              martin.c.glez.glez Martin Gonzalez
              Reporter:
              martin.c.glez.glez Martin Gonzalez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: