Skip to content

Developers will be confused about which Android platform view mode to use #13355

@jmagman

Description

@jmagman

What information needs to be added?

HCPP was added with #13326. I think https://docs.flutter.dev/platform-integration/android/platform-views probably needs a holistic overview, it's pretty confusing right now which mode to use in which cases.
Some examples:

To create a platform view on Android, use the following steps.

But then the next part doesn't say next steps.

Hybrid composition says "+ best performance and fidelity of Android views." but HCPP has the same or better performance and fidelity, it's pretty much better in every way. That isn't really clear and may discourage developers from trying HCPP.

The performance section is out-of-date and still talks about the platform and raster thread. But it's thread-merged by default on Android.

There's also a formatting issue with "Texture layer"

Image

Where should this new content appear?

https://docs.flutter.dev/platform-integration/android/platform-views

I would like to fix this problem.

  • I will try and fix this problem on docs.flutter.dev.

Metadata

Metadata

Assignees

Labels

co.requestCommunity ask for documentatione1-hoursEffort: < 8 hrsp1-highMajor but not urgent concern: Resolve in months. Update each month.target.AndroidTarget apps on the Android Platform

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions