Further improvement for https://github.com/facebook/react-native/commit/f94abd3c012bd89b35b6a8165ffce1037c36cef2 is suggested:
webView.setWebChromeClient(new WebChromeClient() {
public void onGeolocationPermissionsShowPrompt(String origin, GeolocationPermissions.Callback callback) {
callback.invoke(origin, true, false);
}
});
More details: http://stackoverflow.com/a/5423026
Can you submit a pull request?
I also ran across this problem :/
Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/webview-android-geolocation-does-not-work-inside-a-webview-the-permission-request-popup-never-opens
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.
this issue still occurs
Most helpful comment
this issue still occurs