Hello, I'm uisng an embedded cordova webview and am seeing something where by the webview doesn't receive messages sent to it from my plugin.
I've seen this with: android 4.3, 4.4.2, (Moto G, Nexus 7 2012) cordova 3.3.0-rc1, 3.3.0-0.1.1, 3.3.1-0.4.2 The application is receiveing informatiion from a USB device (the phone/tablet runs in accessory mode), reading this information in its own thread. These call callbacks, and change the state in the webview (lavaca app). Generally this works without issues. Sometimes, the screen doesn't update. If I profile the threads running, the webview is not showing any activity (except maybe a call to uptime). If I unplug and plug back in the USB, the screen goes through all the pending updates (quickly flashes through them). The app does *not* return to normal opperations at this point: I have to unplug/plug back in for every message that is sent. If I do this while monitoring the threads, I see calls to the android message handler happening at this point. When it is working correctly, these calls happen when the event is triggered. My questions - what could be causing this? Is there a way to force the message queue to trigger, other than unpluggin/pluggin back in? James