[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to