You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SimpleOrientationSensor should not schedule on Dispatcher #10905
Similarly to other sensors, the events should not be scheduled on Dispatcher to avoid swamping the UI thread. Only the user should decide whether using the sensor on UI thread is needed.
It should be restored to the dispatcher using a feature flag as needed, though this particular sensors is not high-throughput so it may be too big of an issue.
Activity
jeromelaban commentedon Jan 9, 2023
It should be restored to the dispatcher using a feature flag as needed, though this particular sensors is not high-throughput so it may be too big of an issue.
Let's add it to the list of breaking changes.
fix!: `SimpleOrientationSensor` should not schedule on `Dispatcher` (#…