You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (Commented) (JIRA)" <ji...@apache.org> on 2012/04/06 21:05:25 UTC

[jira] [Commented] (CB-442) FileTransfer download should not block the UI

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

Shazron Abdullah commented on CB-442:
-------------------------------------

Pull request: https://github.com/apache/incubator-cordova-ios/pull/10
                
> FileTransfer download should not block the UI
> ---------------------------------------------
>
>                 Key: CB-442
>                 URL: https://issues.apache.org/jira/browse/CB-442
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: Master
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>
> Right now the way it downloads items, it blocks the UI:
> https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/Classes/CDVFileTransfer.m#L167
> NSData dataWithContentsOfUrl:
> https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/Reference/Reference.html
> Change to an async download method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira