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

        

Reply via email to