Skip to content

[ios][engine]add integration tests for platform view touches #156753

Description

@hellohuanlin

The platform view touch gesture has pretty complex logic but it has no integration test.

A few possible ideas:

  • able to enable/disable some/all gestures on platform view
  • GestureDetector able to get the touch callbacks
  • if flutter side consumes all the touches, platform view shouldn't receive any touches
  • if flutter side consumes some gestures (e.g. swipe up/down), platform view should receive remaining touches (pinch to scale)
  • if flutter side doesn't consume touches, then platform view should handle them

See context: flutter-team-archive/engine#55724

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

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