Skip to content

invokeMethod fails with WindowChannelException(CHANNEL_UNREGISTERED) when communicating between windows using desktop_multi_window: ^0.3.0 #477

@homgwu

Description

@homgwu

I'm using desktop_multi_window: ^0.3.0 to develop a multi-window application on Windows. I followed the configuration in the example and added the registration code in flutter_window.cpp. After running, multiple windows can be created successfully, but when I try to communicate between windows by calling invokeMethod, I get the following error:

fatal: WindowChannelException(CHANNEL_UNREGISTERED, Channel "lut_watch" not accessible (may be unregistered, bidirectional pair, or permission denied))

How can I resolve this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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