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

Undocumented option 'body' in FileTransferError.

    XMLWordPrintableJSON

Details

    Description

      The FileTransferError javascript layer has a option 'body' which I couldn't find any reference to in the documentation.

      https://github.com/apache/cordova-plugin-file-transfer/blob/master/www/FileTransferError.js

      http://plugins.cordova.io/#/package/org.apache.cordova.file-transfer

      Looking at the Android source, it looks like the body will contain the stream response in UTF-8. Looks like the docs are out of sync.

      If some one can confirm this, I can send a PR to fix the documentation.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              svkirans Venkata Kiran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: