You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/06/23 22:00:00 UTC
[jira] [Commented] (CB-12943) iOS updateProgress blocking UI
[ https://issues.apache.org/jira/browse/CB-12943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061558#comment-16061558 ]
Shazron Abdullah commented on CB-12943:
---------------------------------------
Hi Oliver, can you send a pull request? https://github.com/OliverZiegler/cordova-plugin-file-transfer/commit/4bd1a68eb1bd9eddd26853eeb95d597581dd2964
> 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
> 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