-
Notifications
You must be signed in to change notification settings - Fork 26
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
Error in Windows: Platform channel messages must be sent on the platform thread #66
Comments
This is blocked by this issue: flutter/flutter#134346. But this is not crash the app, you can ignore this warning for now. |
Thanks for the reply @yanshouwang! Thanks for all your work on this flutter package. I have really liked it so far! |
What's the version you are using? Can you provide the scanning codes? |
Can you test this with 6.0.0 to see if this is resolved? |
Sure, I will try, but it may take some time because I'm a bit swamped. The
new 6.0 pub version looks great! Appreciate all your efforts on this. Very
valuable library.
…On Mon, Jun 3, 2024 at 10:23 PM 渐渐被你吸引 ***@***.***> wrote:
Can you test this with 6.0.0 to see if this is resolved?
—
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANMYGPGITXP3KTQ6B5YZORTZFUQKRAVCNFSM6AAAAABH3IYXFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBWGQ2DOMRWGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
This issue is stale because it has been open for 30 days with no activity. |
Hello,
I found an issue using this package on Windows 10.
[√] Flutter (Channel stable, 3.16.9, on Microsoft Windows [Version 10.0.22631.3593], locale
en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.7)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.89.1)
[√] Connected device (4 available)
[√] Network resources
Steps to reproduce:
Connecting to VM Service at ws://127.0.0.1:51793/-TN8a0R1R50=/ws
flutter: BLE: central manager state changed [ERROR:flutter/shell/common/shell.cc(1015)] The 'dev.flutter.pigeon.bluetooth_low_energy_windows.MyCentralManagerFlutterApi.onDiscovered' 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.
flutter: Data Directory: C:\Users\xxxx\OneDrive\Documents
The text was updated successfully, but these errors were encountered: