cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shakhnazarov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5787) Progress event(fileTransfer.onprogress) crashes on files <50 MB
Date Wed, 28 Oct 2015 21:46:27 GMT

    [ https://issues.apache.org/jira/browse/CB-5787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14979302#comment-14979302
] 

Sergey Shakhnazarov commented on CB-5787:
-----------------------------------------

On Android progress and downloading works normally (used 50 mb sample video file).

On iOS when the progress gets to 6-13% (random) the UI hangs although such a log could be
seen in XCode:
{noformat}
2015-10-28 14:37:25.066 HelloCordova[1525:47851] THREAD WARNING: ['File'] took '21.390869'
ms. Plugin should use a background thread.
2015-10-28 14:37:25.136 HelloCordova[1525:47851] THREAD WARNING: ['File'] took '69.472900'
ms. Plugin should use a background thread.
2015-10-28 14:38:30.284 HelloCordova[1525:47972] File Transfer Finished with response code
200
2015-10-28 14:43:21.627 HelloCordova[1525:47851] THREAD WARNING: ['File'] took '23.420898'
ms. Plugin should use a background thread.
2015-10-28 14:43:21.805 HelloCordova[1525:47851] THREAD WARNING: ['File'] took '177.073975'
ms. Plugin should use a background thread.
2015-10-28 14:43:22.179 HelloCordova[1525:47851] THREAD WARNING: ['File'] took '30.184082'
ms. Plugin should use a background thread.
{noformat}
UI gets unfrozen eventually.

> Progress event(fileTransfer.onprogress) crashes on files <50 MB
> ---------------------------------------------------------------
>
>                 Key: CB-5787
>                 URL: https://issues.apache.org/jira/browse/CB-5787
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 2.9.0
>         Environment: Android 4.0+, iOS6+
>            Reporter: Vishnu Raj
>              Labels: download, event, filetransfer, progress, reproduced, triaged
>
> I have an mp3 download phonegap app. The download progress bar with I made using progressEvent
is working fine for small files only. It's good upto files of size 20MB. After that it seems
crashes. The result is, app will not respond to any user interactions. But the file is getting
downloaded properly. After completing the download, the user can continue using the app and
the downloaded file. Until the downloading finishes user feels like the app is not responding.
Average size of my files will be 50MB. Maximum will be 60MB.
> So the problem seems only in the progress event. I tried debugging the values, values
also no getting updating with download progressing. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message