VapiAI / flutter

MIT License
5 stars 2 forks source link

The 'daily_flutter_audio_manager_events' channel sent a message from native to Flutter on a non-platform thread. #4

Open chingiz opened 2 months ago

chingiz commented 2 months ago

Hi,

I'm getting this error, any help?

[ERROR:flutter/shell/common/shell.cc(1038)] The 'daily_flutter_audio_manager_events' 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.

After this app crashes.

chingiz commented 2 months ago

Note: I'm using example in https://github.com/VapiAI/flutter/tree/main/example

chingiz commented 1 month ago

@nikhilro ?

jordancde commented 1 month ago

Looks like we have been able to reproduce the issue. I believe this issue has started with Flutter 3.13, which has stricter detection of multi-threading. However, everything continues to work despite the fact that this message is appearing. It is going to be fixed in our next Flutter release, which should happen either later this week or early next week.