[Fixed] - iOS orientation sensor not working (error 100300 - "Failed to get true north")

Hi,

to anyone who is searching this community.

I have managed to "fix" what i consider a bug - any app which wants to use the OrientationSensor on a more recent iOS (tested with 16.3.1) will throw an error 100300 (see screenshot) when trying to use any function of the OrientationSensor (either event, or even "set enable to true").

The solution is that: Location Services must be available and enabled for System Services >
Compass Calibration.

Solution was inspired by: [Enhancement] OrientationSensor documentation for iOS needs location service note · Issue #1473 · xamarin/Essentials · GitHub