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

... channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. #379

Open
martinmay67 opened this issue Aug 12, 2024 · 3 comments
Labels
bug Something isn't working Windows

Comments

@martinmay67
Copy link

martinmay67 commented Aug 12, 2024

Package version
5.1.2

Environment

  • OS: Windows

Describe the bug
When starting the recorder audio stream, I get the following error in the logs:

[ERROR:flutter/shell/common/shell.cc(1065)] The 'com.llfbandit.record/eventsRecord/ac553894-2dfd-45aa-b17f-08697d986033' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread.
The recording works, but it may cause some problems in the future.

To Reproduce

Would you like me to send you a link to the repo with a sample app?

Expected behavior

No such error should happen.

Additional context

NA

@llfbandit llfbandit added bug Something isn't working Windows labels Aug 12, 2024
@llfbandit
Copy link
Owner

Blocked by Flutter: flutter/flutter#134346

@venky9885

This comment was marked as spam.

@Lonely1371
Copy link

Hello,
I am also encountering this error on the Windows platform with the latest version. It occurs during recording, and nothing is being saved.

[+245842 ms] [ERROR:flutter/shell/common/shell.cc(1065)] The 'com.llfbandit.record/events/1eacebba-7a92-4a55-acae-8c9a0e7663dd' 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Windows
Projects
None yet
Development

No branches or pull requests

4 participants