You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR:flutter/shell/common/shell.cc(1065)] The 'com.llfbandit.record/eventsRecord/44bafddf-6f0a-445d-a813-b94d10e70258' 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.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
To Reproduce
I implemented audio streaming using the record package: ^5.2.0.
Step 1: run "flutter pub add record"
Step 2: When I run "flutter run -d windows" it seems to work fine.
Step 3: When I run "flutter build windows", the app crashes.
When I revisited Step 2, I noticed the following error:
[ERROR:flutter/shell/common/shell.cc(1065)] The 'com.llfbandit.record/eventsRecord/44bafddf-6f0a-445d-a813-b94d10e70258' 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.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
I found that this is the cause of the crash when running 'flutter build windows'.
Do you know how I can fix this issue?
Package version
record: ^5.2.0
Environment
Describe the bug
[ERROR:flutter/shell/common/shell.cc(1065)] The 'com.llfbandit.record/eventsRecord/44bafddf-6f0a-445d-a813-b94d10e70258' 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.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
To Reproduce
I implemented audio streaming using the record package: ^5.2.0.
Step 1: run "flutter pub add record"
Step 2: When I run "flutter run -d windows" it seems to work fine.
Step 3: When I run "flutter build windows", the app crashes.
When I revisited Step 2, I noticed the following error:
[ERROR:flutter/shell/common/shell.cc(1065)] The 'com.llfbandit.record/eventsRecord/44bafddf-6f0a-445d-a813-b94d10e70258' 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.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
I found that this is the cause of the crash when running 'flutter build windows'.
Do you know how I can fix this issue?
Here is the source code I used.
Thank you.
The text was updated successfully, but these errors were encountered: