We have a Phonegap/Cordova (1.6.0) application using SenchaTouch (1) for its UI and a custom native (iOS) plugin for unzipping files in the Documents folder. The plugin does not have its own GUI.
We would like to show progress during the unzip operation by updating a progress bar (or simply a dialog) in our Sencha app. We have implemented an update function in the native plugin that uses the "writeJavascript" method to invoke Javascript code from native code.
Invoking that functionality works, but none of the GUI updates we make in our Sencha UI are actually shown, debug log statements are also not show. Only if we add a Javascript alert box in between our code we can observe that the Sencha updates are processed and that something changes in the UI. It feels as though Sencha does everything asynchronously and that code is blocked somehow.
What are we missing?