Since Android updated to webview v 69.0.3497.91, any script that runs that returns content longer than 10240 bytes fails as the message gets truncated
Bug appears here: https://github.com/apache/cordova-plugin-inappbrowser/blob/master/src/android/InAppChromeClient.java#L114 `JSONException` occurs as message is invalid JSON (truncated string) Bug has been lodged with Chrome but they won't fix it: https://bugs.chromium.org/p/chromium/issues/detail?id=884100 In the bug they report: ``` I don't think you should rely on prompt() as a means of passing data from JS to Java. There are other APIs that are properly suited to this task. ``` I am about to try a few ideas either `addJavascriptInterface` or `evaluateJavascipt` instead of `prompt` but would be open to suggestions of other interfaces [ Full content available at: https://github.com/apache/cordova-plugin-inappbrowser/issues/303 ] This message was relayed via gitbox.apache.org for [email protected]
