You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vishal Mishra (JIRA)" <ji...@apache.org> on 2017/11/22 01:14:00 UTC

[jira] [Closed] (CB-12943) iOS updateProgress blocking UI

     [ https://issues.apache.org/jira/browse/CB-12943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vishal Mishra closed CB-12943.
------------------------------
    Resolution: Won't Fix

With the new features introduced in [XMLHttpRequest|https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest], this plugin is not needed any more. Migrating from this plugin to using the new features of [XMLHttpRequest|https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest], is explained in this [Cordova blog post|https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html].

> iOS updateProgress blocking UI
> ------------------------------
>
>                 Key: CB-12943
>                 URL: https://issues.apache.org/jira/browse/CB-12943
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-file-transfer (DEPRECATED)
>            Reporter: Oliver Ziegler
>              Labels: iOS, performance
>
> When starting a download we receive calls to updatePrrogress and corresponding javascript callback this many times, so CPU will get to almost 100% and UI will non or very slowly responsive.
> I just made a workaround in https://github.com/OliverZiegler/cordova-plugin-file-transfer.git on branch iOS_throttle where the updateProgress event will only be send to the javascript source every second.
> We didn't get this issue on Android.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org