[proposal] Pigeon should use Protobuf to share data between "HostApi" and "FlutterApi" #60758
Labels
c: new feature
Nothing broken; request for a new capability
c: proposal
A detailed proposal for a change to Flutter
p: pigeon
related to pigeon messaging codegen tool
P3
Issues that are less important to the Flutter project
package
flutter/packages repository. See also p: labels.
team-ecosystem
Owned by Ecosystem team
triaged-ecosystem
Triaged by Ecosystem team
Hi all,
the following proposal is largely inspired by this great article from @truongsinh
Use case
Common issues with platform channel data transfer:
Proposal
Use protobuf as default for pigeon's platform channel communication.
Extras
grpc uses
protobuf
, the proposed implementationwould make very easy to cache data on native side from a
grpc
clientAFAIK flutterfire uses a grpc client on the native side
the proposed implementation should lead to better performance and stability
cc @gaaclarke as requested in the
feedback
tab of pigeon readmeThank you
The text was updated successfully, but these errors were encountered: