fluttercandies / flutter_tilt

👀 Easily apply tilt parallax hover effects for Flutter, which supports tilt, light, shadow effects, and gyroscope sensors | 为 Flutter 轻松创建倾斜视差悬停效果,支持倾斜、光照、阴影效果和陀螺仪传感器
https://pub.dev/packages/flutter_tilt
MIT License
145 stars 6 forks source link

This prompt appears on iOS #6

Closed yoyo89757001 closed 10 months ago

yoyo89757001 commented 10 months ago

The 'dev.fluttercommunity.plus/sensors/gyroscope' 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.

AmosHuKe commented 10 months ago

@yoyo89757001 Thanks for the feedback! 😄

The source of the error message is the sensors_plus package.

You can follow the same issue: https://github.com/fluttercommunity/plus_plugins/issues/2342#issuecomment-1817963563

I'm using Flutter 3.16.0 which reproduce this issue, but the sensors are still working fine.

If your software works fine in the release version, you can ignore this prompt for now. I'll keep track of the sensors_plus package and keep the sensors_plus version up to date.

AmosHuKe commented 10 months ago

Fixed, please upgrade to flutter_tilt v2.2.0 Changelog: v2.2.0