motion_sensors icon indicating copy to clipboard operation
motion_sensors copied to clipboard

Platform channel messages must be sent on the platform thread

Open konsnos opened this issue 3 months ago • 0 comments

Hello,

First of all thanks for the package. It's great!

I'm getting the following errors

[ERROR:flutter/shell/common/shell.cc(1065)] The 'motion_sensors/accelerometer' 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. and it's the same for user_accelerometer, gyroscope, magnetometer, orientation and absolute_orientation. I haven't noticed any crashes but the errors sound worrying.

Is this issue known? Have I missed a set up step?

Platform: iOS 18.1 Flutter: 3.24.4 motions_sensors: 0.1.0

konsnos avatar Nov 24 '24 20:11 konsnos