OrientationSensor in iOS does not fire events due to an underlying issue where the sensor is intialised in such a way as it has a dependency on the Compass Calibration, and thus a dependency on location services.
Steps to Reproduce
Attempt to enable the OrientationSensor on iOS
Wait for an event that never comes.
Expected Behavior
You expect the ReadingChanged event to start firing as the orientation of the device changes.
Actual Behavior
You do not get a ReadingChanged event to fire as the orientation of the device changes.
Description
OrientationSensor in iOS does not fire events due to an underlying issue where the sensor is intialised in such a way as it has a dependency on the Compass Calibration, and thus a dependency on location services.
Steps to Reproduce
Expected Behavior
You expect the ReadingChanged event to start firing as the orientation of the device changes.
Actual Behavior
You do not get a ReadingChanged event to fire as the orientation of the device changes.
References
https://github.com/xamarin/Essentials/issues/1473