Repository navigation
docs(compass): correct ReportInterval support for iOS and WASM (backport #24655) - #25909
Merged
Merged
Conversation
The supported-features table listed ReportInterval as available on iOS and unavailable on WebAssembly. Compass.iOS.cs does not declare the member (heading updates come from CLLocationManager), while Compass.wasm.cs exposes ReportInterval and forwards it to the composed Accelerometer/Magnetometer sensors. Swap those two columns so the table matches the implementations. Fixes #24649 (cherry picked from commit 3a1866f)
agneszitte
approved these changes
Nov 2, 2026
Contributor
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25909/docs/index.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Compass "Supported features" table had the iOS and Web (WASM) columns for
ReportIntervalreversed.Why this is wrong
Compass.iOS.csdoes not declareReportInterval(heading updates come fromCLLocationManager)Compass.wasm.csdeclarespublic uint ReportIntervaland forwards it to the composed Accelerometer/Magnetometer sensorsAnyone following the table on iOS hits a compile error; on WASM they may skip a property that is actually available for throttling.
Change
Swap the iOS/WASM cells on the
ReportIntervalrow indoc/articles/features/compass.md:ReportIntervalFixes #24649
This is an automatic backport of pull request #24655 done by Mergify.