title: React Native Geolocation for WebView
body: <p>Basically in Native Android app for using google Maps API in <code>WebView</code> I do this: (<a href="https://turbomanage.wordpress.com/2012/04/23/how-to-enable-geolocation-in-a-webview-android/" rel="nofollow noreferrer">Full Article</a>)</p>
  
  <ol>
  <li><p>In AndroidManifest.xml :</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
  </code></pre></li>
  <li><p>In Activity:</p>
  
  <pre><code>public class GeoWebChromeClient extends WebChromeClient {
      @Override
      public void onGeolocationPermissionsShowPrompt(String origin,
              GeolocationPermissions.Callback callback) {
          callback.invoke(origin, true, false);
      }
  }
  </code></pre></li>
  <li><p>and finally in onCreate method:</p>
  
  <pre><code>mWebView.getSettings().setGeolocationEnabled(true);
  mWebView.setWebChromeClient(new GeoWebChromeClient());
  </code></pre></li>
  </ol>
  
  <p>I am trying to find an exact equivalent in React-Native WebView.
  Any help is appreciated.</p>