Skip to content

[webview_flutter] Andriod WebView Geolocation Support #27472

@vail130

Description

@vail130

Please add support for geolocation inside of the webview for Android.

Apparently, this is not an issue for iOS, because UIWebViews automatically get location information once the app has the right permissions. With Android, however, the WebView must us a customized WebChromeClient to access location information.

Here are a few relevant links:

  1. https://stackoverflow.com/a/5423026
  2. https://turbomanage.wordpress.com/2012/04/23/how-to-enable-geolocation-in-a-webview-android/
  3. https://medium.com/@xabaras/android-webview-handling-geolocation-permission-request-cc482f3de210

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions