Webview error overlay bug fix

This commit is contained in:
Manoj Vivek 2019-09-22 17:24:27 +05:30
parent 224231ecc1
commit 788f3d4c8f

View file

@ -96,6 +96,10 @@ class WebView extends Component {
this.webviewRef.current.addEventListener(
'did-fail-load',
({errorCode, errorDescription}) => {
if (errorCode === -3) {
//Aborted error, can be ignored
return;
}
this.setState({errorCode: errorCode, errorDesc: errorDescription});
}
);