incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-442) FileTransfer download should not block the UI
Date Tue, 10 Apr 2012 17:07:13 GMT

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

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

It did work in 1.5.0 when I tested it with the callbacks, but not in 1.6.0. Will file separate
issue.

                
> 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
>             Fix For: 1.6.0
>
>         Attachments: CB-442-test.html
>
>
> 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

        

Mime
View raw message