cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "*robin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6047) File plugin callback problem with android 4.4 kitkat
Date Tue, 18 Feb 2014 06:27:19 GMT

    [ https://issues.apache.org/jira/browse/CB-6047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903818#comment-13903818
] 

*robin commented on CB-6047:
----------------------------

I've made some new tests.
In my Nexus 7 in kitkat 4.4.2, I've got the event fired correctly.
In my galaxy nexus in cyanogen 11 (4.4.2) I've got the problem. 
I check that the chromium webview is the same version.

The problem is that the listener is not waking up  (pop message) is not call when the file
plugin as enqueue is message. 

> 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: Ian Clelland
>
> 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.1.5#6160)

Mime
View raw message