I'm trying to use the childBrowser plugin for phonegap and it's failing to generate the .apk,
In Eclipse I can see an error (deprecated function) at:
settings.setPluginState(true);
The problem here is that both versions have this line, anyway I commented this line (with not so many hopes) but it's still failing
By failing I mean that this:
window.plugins.childBrowser.showWebPage('http://google.com/')
Is not opening any page or throwing any errors...
Any idea what I'm missing?
PD: I included the .jar, the .js (and referenced it), the lines in androidmanifest.plist and in config.xml
-EDIT-
Phonegap: 2.1.0
childBrowser: 2.0
-EDIT-
If waiting untill device ready then I get this error in the console's simulator:
E/Web Console(30411): Uncaught TypeError: Cannot read property 'childBrowser' of undefined at file:///android_asset/www/js/scripts.js?v=33s:883