You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Giovanni Gasparri <gi...@gasparrisoft.com> on 2014/07/09 19:39:57 UTC

inAppBrowser - executeScript fails sometimes

Hi everybody,
I'm having an issue with the *executeScript* function of the
*inAppBrowser *while
loading a remote JavaScript file on Android.

Sometimes (once every 5/6 page loaded) the script *is not injected* and
then *it's not executed* and its related callback function is not invoked.
As result the app doesn't work properly.

*iab.executeScript({file: link},function() {alert('Injected');});*


I'm using Cordova version 3.4.0-0.1.0 on a Win 7 Pro with Android SDK
Platform - API 20

How can I troublshoot this issue?