Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D981105F8 for ; Wed, 23 Jul 2014 13:40:39 +0000 (UTC) Received: (qmail 1113 invoked by uid 500); 23 Jul 2014 13:40:38 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 1089 invoked by uid 500); 23 Jul 2014 13:40:38 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 1074 invoked by uid 99); 23 Jul 2014 13:40:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2014 13:40:38 +0000 Date: Wed, 23 Jul 2014 13:40:38 +0000 (UTC) From: "Andrew Grieve (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-6047) File plugin callback problem with android 4.4 kitkat 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-6047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071712#comment-14071712 ] Andrew Grieve commented on CB-6047: ----------------------------------- There indeed is a confirmed bridge bug in 3.5.0, and it's fixed on master (details in CB-6761) > File plugin callback problem with android 4.4 kitkat > ---------------------------------------------------- > > Key: CB-6047 > URL: https://issues.apache.org/jira/browse/CB-6047 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 3.3.0 > Environment: Android 4.4 > dev windows > IDE Eclipse > Cordova 3.3 > Reporter: *robin > Assignee: Andrew Grieve > Fix For: 3.5.0 > > Attachments: test_fs.zip > > > I've try to use the file plugin on my android phone in 4.4 but I've got some strange problem with the callback function, succeed or fail. > When I try to access fileSystem (window.requestFileSystem) > The first time I don't receive the callback. But If I try a second time I've got 2 callBack. > I've try to debug the case. I 've figure that the 2 thread executing in java (JavaBind and file plugin) are synchronise on the NativeToJsMessageQueue. When the plugin enqueue Message and the java bind pop Message. > But I think the javabind finished before the file plugin, and never see the message in the queue. But the second time, I've got the 2 messages. > I think this is the same problem describe here : > http://stackoverflow.com/questions/20821536/phonegap-cordova-deviceready-or-requestfilesystem-not-working-android > Thx -- This message was sent by Atlassian JIRA (v6.2#6252)