Flavio Righi created CB-14239:
---------------------------------
Summary: http errors not managed in loaderror event in android
Key: CB-14239
URL: https://issues.apache.org/jira/browse/CB-14239
Project: Apache Cordova
Issue Type: Improvement
Components: cordova-plugin-inappbrowser
Reporter: Flavio Righi
On android platforms the inappbrowser plugin not manage at all http errors,
instead load the error page as a normale one.
If browse on a link that thrown 4xx or 5xx code, the loaderror event is not
thrown.
After some investigation I've founded cause, it's caused by an Android missin
callback to manage this, but they have introduced a new callback from API23.
You can check [here
|https://developer.android.com/reference/android/webkit/WebViewClient#onReceivedHttpError(android.webkit.WebView,%20android.webkit.WebResourceRequest,%20android.webkit.WebResourceResponse)]
the added android callback.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]