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 1C1899E07 for ; Wed, 4 Apr 2012 20:43:47 +0000 (UTC) Received: (qmail 72169 invoked by uid 500); 4 Apr 2012 20:43:46 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 72120 invoked by uid 500); 4 Apr 2012 20:43:46 -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 71940 invoked by uid 99); 4 Apr 2012 20:43:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 20:43:46 +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; Wed, 04 Apr 2012 20:43:45 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CC86B358C90 for ; Wed, 4 Apr 2012 20:43:25 +0000 (UTC) Date: Wed, 4 Apr 2012 20:43:25 +0000 (UTC) From: "Shazron Abdullah (Created) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <840908819.13970.1333572205872.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 X-Virus-Checked: Checked by ClamAV on apache.org 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