Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(warning) 'com.haberey/nsd' channel message on a non-platform thread #51

Closed
robert-virkus opened this issue Nov 3, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@robert-virkus
Copy link

Description

Hi, here's just a warning from the Flutter environment. Does not seem to impact functionality yet, but this probably should be addressed.

GIVEN I run a Flutter Windows app on Windows 11 with Flutter 3.13.8
WHEN trying to register a service with register / Future<Registration> register(Service service)
THEN I receive the following warning: [ERROR:flutter/shell/common/shell.cc(1004)] The 'com.haberey/nsd' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.

Scenario

Use the plugin in my own application via Flutter dependency

Platform

Windows

@sebastianhaberey sebastianhaberey added the duplicate This issue or pull request already exists label Nov 3, 2023
@sebastianhaberey
Copy link
Owner

Hi Robert, you are right this is indeed the cause of a currently open issue: #46 So I'm closing this as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants