Skip to content

Update 1P plugin platform view selection #108106

@stuartmorgan-g

Description

@stuartmorgan-g

Currently both webview_flutter and google_maps_flutter have APIs and README documentation about selecting the Android platform view mode, but as of Flutter 3.0 those options don't actually do anything, so the docs are wrong. We should update them:

  • Maps:
  • Webview:
    • Either:
      • Add a new way to select HC (we don't want to just "fix" the old selection because we want anyone opting out of TLHC for webview to be making a new explicit decision to do it, rather than downgrade what would have been a common option for people to want pre-3.0), or
      • Fully deprecate the switch, and document that it's a no-op. (We don't currently have a compelling case for people to use HC for webview that I know of other than the fallback issue described in initSurfaceAndroidView uses Virtual Display as fallback mode #107313, which we should just fix.)
    • Update the README to describe the Flutter 3.0+ behavior

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listp: mapsGoogle Maps pluginp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions