Skip to content

AndroidViews fail after cold reload #19576

@amirh

Description

@amirh

A cold reload resets the PlatformViewRegistry on the Dart side, but currently does not flush the platform views hash table on the platform side.

We should dispose all platform views and flush the hash table on cold reload.

Metadata

Metadata

Assignees

Labels

a: debuggingDebugging, breakpoints, expression evaluationa: platform-viewsEmbedding Android/iOS views in Flutter appsplatform-androidAndroid applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions