Skip to content

[pigeon] Check for missing plugin response in Flutter APIs #118245

@stuartmorgan-g

Description

@stuartmorgan-g

Related to #118243: we currently have a check on the Dart side for a null response from a Host API call, which means that there was no handler set up, and we error accordingly. We don't have any comparable handlers for Flutter API.

As part of, or after, fixing #118243 we should also check for a null response and convert that to an error about not being able to establish communication.

We should also add an integration test that deliberately calls a Flutter API that doesn't have a Dart hander set up (we can define a new, minimal dummy Flutter API in the test pigeons/ file that's explicitly documented as never being set up on the Dart side).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: pigeonrelated to pigeon messaging codegen toolpackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions