cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <>
Subject [jira] [Commented] (CB-6408) Upload files greater than 100 MB when the app is in background.
Date Mon, 07 Apr 2014 15:50:15 GMT


Ian Clelland commented on CB-6408:

I don't think this is a matter of device memory as much as it is about OS policy. On iOS,
applications run in the background at the pleasure of the operating system. Generally, an
application moved to the background has only a few seconds to clean up before it is stopped
(and possibly terminated). If a file transfer is going on at the time that the application
is backgrounded, we do request extra time for it to finish, but I don't think that iOS will
let the application run indefinitely for a very large transfer.

A better solution might be to have the application gracefully stop the transfer, and give
the client server the capability to resume an interrupted upload.

> Upload files greater than 100 MB when the app is in background.
> ---------------------------------------------------------------
>                 Key: CB-6408
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS, Plugin File Transfer
>    Affects Versions: 3.1.0
>         Environment: ios
>            Reporter: Venkata Kiran
> If I need to upload files of bigger size, say more than 100 MB, it takes any where between
2 minutes to 20 minutes based in the network speed. And if the application is active all through
then the file is uploading without any issues. But if the application is switched to background
mode, then the upload is failing. I think cordova should support uploading bigger files in
background as it is no longer a rare use case because of the bigger memory availability on
the devices.

This message was sent by Atlassian JIRA

View raw message