flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
164.89k stars 27.17k forks source link

☂ Eliminate the need for embedder.h clients to use system channels #71119

Open stuartmorgan opened 3 years ago

stuartmorgan commented 3 years ago

Basic functionality should be available to embedders via stable APIs, rather than needing to use method channels that don't have the same stability guarantees. Currently, that's not the case. We should work to make the desktop embeddings channel-free, and then in the future whenever we add an important channel (as we did recently with mouse cursors) we should wrap it as a precondition for adopting it in the desktop embeddings, to hold the line.

This will have the added benefit of embedders not necessarily needing to implement the JSON message codec; currently the use of it by these internal channels force embedders to implement it even though plugins all use the standard codec.

flutter-triage-bot[bot] commented 3 months ago

The triaged-desktop label is irrelevant if there is no team-desktop label or fyi-desktop label.