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

Venkata Kiran commented on CB-6408:
-----------------------------------

Ian,

   On your suggestions for resuming, I agree solves the problem to certain 
extent. But still the user experience wont be that good. As far as user is 
concerned his app is still running in the background. So there is no reason for 
the app to pause the upload/download. Expecting the user to leave the app in 
foreground for so much time also doesn't seem to be realistic.

CB 2910 improved the situation, before this we cant upload even 20-30 MB files 
which we are able to do after this fix. 

Shazron,

I understand NSURLSession is iOS7 only. But I think majority of the devices 
which can be upgraded, are on iOS 7. Cordova depreciation policy may require 
still supporting this, but aren't we getting into a situation where the native 
app can support this and Cordova cant ? If OS doesn't support a feature like 
this in iOS 6, then that is fine. No other app can do it and so Cordova Apps 
wont be losing any thing. But if native apps can do it and Cordova cant support 
it due to depreciation policy or some thing, isn't it hampering the effort to 
create better apps using Cordova.

I hope a way will be found out for such scenarios. If it takes very long time 
to support new features because of backward compatibility(we can always create 
plugins or use one of the plugins created, but the confidence on the core API's 
supported by Cordova team will be higher both in terms of stability and 
continuity) it will hamper creating apps that can compete with similar native 
apps.

> Upload files greater than 100 MB when the app is in background.
> ---------------------------------------------------------------
>
>                 Key: CB-6408
>                 URL: https://issues.apache.org/jira/browse/CB-6408
>             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
(v6.2#6252)

Reply via email to