mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
Fix for CB-1879 by Tom Clarkson. Hacked in due to lack of pull request
This commit is contained in:
parent
6c19a440f5
commit
c416c77d7a
@ -302,6 +302,10 @@ public class CordovaWebView extends WebView {
|
||||
Log.i(TAG, "Disabled addJavascriptInterface() bridge callback due to a bug on the 2.3 emulator");
|
||||
return;
|
||||
}
|
||||
else if (SDK_INT == Build.VERSION_CODES.JELLY_BEAN_MR1) {
|
||||
Log.i(TAG, "Disabled addJavascriptInterface() bridge callback for 4.2. Symbols are broken, and we can't compile the annotation needed to expose the exec.");
|
||||
return;
|
||||
}
|
||||
this.addJavascriptInterface(exposedJsApi, "_cordovaNative");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user