incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-442) FileTransfer download should not block the UI
Date Wed, 04 Apr 2012 20:43:25 GMT
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

        

Mime
View raw message