title: React native android : how to setup WebChromeClient
body: <p>I am beginner in javascript
  I have to use chrome web client in React Native because firebase auth is not working in Native android webview </p>
  
  <p>I tried this </p>
  
  <pre><code>import React, { Component } from 'react';
  import { WebView } from 'react-native';
  
  class MyWeb extends Component {
    render() {
      return (
        &lt;WebView
          source={{uri: 'https://github.com/facebook/react-native'}}
          style={{marginTop: 20}}
        /&gt;
      );
    }
  }
  </code></pre>
  
  <p>but it says you cant use firebase auth in native webview 
  now I am following this tutorial </p>
  
  <p><a href="https://github.com/alinz/react-native-webview-bridge" rel="nofollow noreferrer">https://github.com/alinz/react-native-webview-bridge</a></p>
  
  <p>it says </p>
  
  <p>add the following code to add the package to MainApplication.java </p>
  
  <pre><code>(MainActivity.java if RN &lt; 0.29)
  protected List&lt;ReactPackage&gt; getPackages() {
          return Arrays.&lt;ReactPackage&gt;asList(
              new MainReactPackage(),
                  new WebViewBridgePackage() //&lt;- this
          );
      }
  </code></pre>
  
  <p>I can't find any file called MainApplication.java in my react native project
  I am using create-react-native-app
  <strong>Please</strong> help me with javascript-firebase auth &amp; javascript functionality in mobile app </p>