Skip to content

Conversation

@nicolagulmini
Copy link

Hi,
I've been trying to use your plugin in my Flutter project, but I ran into this error:

"The 'aaron.code.com/mic_stream' channel sent a message from native to Flutter on a non-platform thread."

I was able to fix it by wrapping the events(...) call inside a DispatchQueue.main.async { ... }.
This change solved the issue on my side. Let me know if you're interested in a pull request!

Now on main thread ("The 'aaron.code.com/mic_stream' channel sent a message from native to Flutter on a non-platform thread." solved)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant