Closed robheffo79 closed 5 months ago
This would be a breaking change and I don't think we want to do that in this phase of the Xamarin.Essentials lifecycle as we're only months away from sunsetting it.
Thanks for your time and effort here, you might want to consider proposing this still for .NET MAUI as that likely has the same behavior.
…the dependency on the compass calibration, thus removing the dependency on location services.
Description of Change
Changed the CMAttitudeReferenceFrame value from XTrueNorthZVertical to XMagneticNorthZVertical in OrientationSensor.ios.watchos.cs line #19.
This change is trivial and requires no tests, samples or documentation.
Bugs Fixed
- Related to issue #2122
API Changes
None
Behavioral Changes
Orientation Sensor takes calibration from Magnetic North instead of True North. True north requires Location Services to be enabled for the app, introducing a sensitive permission that is not strictly necessary. This change pulls the functionality into line with the behavior of Android, which uses Magnetic North for its calibration.
PR Checklist
main
at time of PR