Which API doesn't behave as documented, and how does it misbehave?
Just_Audio_Windows 0.2.1 , is used. and the mobile implementation is working fine using just audio. An audio is assigned to a button and when clicked the, it throws Broadcast event error: Operation aborted and the windows app crashes..
Minimal reproduction project
Provide a link here using one of two options:
.
To Reproduce (i.e. user steps, not code)
Steps to reproduce the behavior:
Just_Audio is used for android implementation
There's buttons which contain an audio assigned, clicking it throws this error
This crashes the app itself
See error below
Error messages
[ERROR:flutter/shell/common/shell.cc(1055)] The 'com.ryanheise.just_audio.events.e17c1f22-b165-4ec9-aeb9-2b503967b6ac' 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.
[ERROR:flutter/shell/common/shell.cc(1055)] The 'com.ryanheise.just_audio.data.e17c1f22-b165-4ec9-aeb9-2b503967b6ac' 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.
[just_audio_windows] Broadcast event error: Operation aborted
Lost connection to device.
Expected behavior
Able to complete the action which is a button click
Screenshots
Desktop (please complete the following information):
OS: Windows 11
Browser Brave
Smartphone (please complete the following information):
Device: Andorid
OS: Android 13
Flutter SDK version
[√] Flutter (Channel stable, 3.22.2, on Microsoft Windows [Version 10.0.22631.3880], locale en-IN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc4)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.4)
[√] Android Studio (version 2023.3)
[√] Connected device (3 available)
[√] Network resources
Which API doesn't behave as documented, and how does it misbehave? Just_Audio_Windows 0.2.1 , is used. and the mobile implementation is working fine using just audio. An audio is assigned to a button and when clicked the, it throws Broadcast event error: Operation aborted and the windows app crashes..
Minimal reproduction project Provide a link here using one of two options:
To Reproduce (i.e. user steps, not code) Steps to reproduce the behavior:
Error messages
Expected behavior Able to complete the action which is a button click
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Flutter SDK version
Additional context Nil