title: How to prevent redirecting when using react-native-webview on Android
body: <p>I want to prevent redirecting to new page in react-native-webview.
  Instead of redirection, I want to open new webview modal and open url at there.</p>
  
  <p>Is it possible way to do this?</p>
  
  <p>In IOS, using stopLoading works fine but it is not working on Android,</p>
  
  <pre><code>onNavigationStateChanged(navState) {
      if(navState.canGoBack)
      {
          this._webView.stopLoading();
  
          if(navState.url.indexOf('newWebViewPage') !== -1)
          {
              this.props.navigation.navigate('WebViewModal',{
                  'url':navState.url,
                  'title':navState.url
              })
  
              return false;
          }
          else
          {
              return true;
          }
      }
  }
  
  render() {
      let headers = {
          'Authorization':'Basic ' + btoa(NetworkUtils.USERNAME + ":" + NetworkUtils.PASSWORD),
          'Content-Type':'multipart/form-data',
      }
  
      return (
          &lt;WebView
              source={{ uri: this.props.url, headers:headers }}
              bounces={false}
              javaScriptEnabled={true}
              onMessage={this.onMessage.bind(this)}
              injectedJavaScript={injectedJavascript}
              ref={(webView) =&gt; { this._webView = webView; }}
              style={[styles.webview,this.props.style]}
              startInLoadingState={false}
              useWebKit={true}
              onNavigationStateChange={this.onNavigationStateChanged.bind(this)}
              onLoadEnd={this.props.onLoadEnd?this.props.onLoadEnd:()=&gt;{}}
              mixedContentMode={'compatibility'}
          /&gt;
      );
  }
  </code></pre>
  
  <p>Please help!!</p>