[webview_flutter_android] Expose WebSettings methods setAllowFileAccess, setAllowContentAccess, setGeolocationEnabled, setCacheMode #160070
Labels
p: webview
The WebView plugin
package
flutter/packages repository. See also p: labels.
platform-android
Android applications specifically
team-android
Owned by Android platform team
What package does this bug report belong to?
webview_flutter
What target platforms are you seeing this bug on?
Android
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
Steps to reproduce
WebViewController
WebViewController.platform as AndroidWebViewController
Expected results
Native WebSettings such as setAllowFileAccess, setAllowContentAccess, setGeolocationEnabled, and setCacheMode should be exposed in order to give developers more options to configure the native webview and restrict these features that are enabled by default.
Actual results
Listed WebSettings methods aren't exposed, so developers can't configure some webview options.
Code sample
Code sample
Screenshots or Videos
No response
Logs
No response
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: