Open grantland opened 9 years ago
Could this be at all related to
// Inject an object that will receive the JSON for the extracted JavaScript tags
webView.addJavascriptInterface(new Object() {
@JavascriptInterface
public void setValue(String value) {
try {
tcs.trySetResult(new JSONArray(value));
} catch (JSONException e) {
tcs.trySetError(e);
}
}
There are some known security issues with "addJavascriptInterface". https://labs.mwrinfosecurity.com/blog/2013/09/24/webview-addjavascriptinterface-remote-code-execution/
It consistently fails on android-19, but not on android-21.
Full output: https://gist.github.com/grantland/7756822e6912f8021202