Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A0DD9C6C for ; Fri, 6 Apr 2012 22:16:41 +0000 (UTC) Received: (qmail 90411 invoked by uid 500); 6 Apr 2012 22:16:40 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 90393 invoked by uid 500); 6 Apr 2012 22:16:40 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 90384 invoked by uid 99); 6 Apr 2012 22:16:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2012 22:16:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2012 22:16:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 64637353C1C for ; Fri, 6 Apr 2012 22:16:17 +0000 (UTC) Date: Fri, 6 Apr 2012 22:16:17 +0000 (UTC) From: "Shazron Abdullah (Resolved) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <955762835.235.1333750577421.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <840908819.13970.1333572205872.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CB-442) FileTransfer download should not block the UI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-442. --------------------------------- Resolution: Fixed Fix Version/s: 1.6.0 Fix commit merged in (from Marcus Wu): http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git;a=commit;h=2bf695b0bc7ec47e2ec1f40842035106811e35f2 > 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