GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/53

    CB-8095 Adds support for progress events to upload operation

    This fixes [CB-8095](https://issues.apache.org/jira/browse/CB-8095)
    
    On windows FileTrasfer doesn't support progress events for upload operation 
properly since internal implementation uses XHR which doesn't provide all 
information, necessary to fire correct progress events.
    
    This PR replaces XHR with `BackgroundUploader` class which itself supports 
progress notification in more convenient way and can provide all necessary data 
for progress events for FileTransfer.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-plugin-file-transfer 
CB-8095

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-file-transfer/pull/53.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #53
    
----
commit 970c1cfb4921e4e2a9ec278556c08d759b54bca4
Author: Vladimir Kotikov <v-vlk...@microsoft.com>
Date:   2014-11-27T15:49:13Z

    CB-8095 Rewrite upload method to support progress events properly
    
    * Uses backgroundUploader class instead of XHR
    * Returns proper response body in case of error

commit 8bb305e9b9adb4cd52f0441debf3445864559541
Author: Vladimir Kotikov <v-vlk...@microsoft.com>
Date:   2014-11-27T15:50:01Z

    CB-8095 Updates tests and documentation

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to