carp-dk / carp-dk/flutter-plugins

[audio_streamer 4.0.0] Platform messages are sent from non-platform thread.

Open
#820 0 comments 0 reactions 0 assignees View on GitHub
audio_streamer bugfix
Dominant language
Dart
Stars
608
Forks
735
Avg merge
1m
Merged PRs (30d)
3

Description

### Device / Emulator and OS
- Device: iOS Simulator or any other
- OS: iOS 17.0 or other

### Describe the bug
[VERBOSE-2:shell.cc(1004)] The 'audio_streamer.eventChannel' 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
Run on any device.

### Expected behavior
Platform messages are sent from platform main thread.

### Flutter doctor
[✓] Flutter (Channel stable, 3.13.6, on macOS 14.0 23A344 darwin-x64, locale ru-RU)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.68.1)
[✓] Connected device (3 available)
[✓] Network resources

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.