Repository navigation
Description
On which page? π
What's wrong? β
The "Supported features" table has the iOS and Web (WASM) columns for ReportInterval backwards:
| Feature | Windows | Android | iOS | Web (WASM) | macOS | Linux (Skia) | Win 7 (Skia) |
|---|---|---|---|---|---|---|---|
ReportInterval |
β | β | β | β | β | β | β |
The table says iOS supports ReportInterval and WASM doesn't. The source shows the opposite:
Compass.iOS.csdeclares noReportIntervalmember at all β the iOS implementation is driven entirely byCLLocationManager's heading updates, so there's nothing to throttle.Compass.wasm.cs#L21declarespublic uint ReportIntervaland forwards it to the underlyingAccelerometer/Magnetometerinstances it composes the heading from.
For reference, Compass.Android.cs#L25 does declare ReportInterval, so the β for Android is correct β only the iOS/WASM columns are swapped.
Anyone following the table to conditionally use Compass.ReportInterval on iOS will hit a compile error (the member doesn't exist there), and anyone following it on WASM will assume the property isn't available and miss the ability to throttle sensor readings.
Any feedback? π¬
Suggested fix β swap the two columns so the row reads:
| Feature | Windows | Android | iOS | Web (WASM) | macOS | Linux (Skia) | Win 7 (Skia) |
|---|---|---|---|---|---|---|---|
ReportInterval |
β | β | β | β | β | β | β |
This is a one-line change to doc/articles/features/compass.md; happy to see it picked up directly rather than needing a deeper investigation.
Activity
docs(compass): correct ReportInterval support for iOS and WASM
docs(compass): correct ReportInterval support for iOS and WASM
docs(compass): correct ReportInterval support for iOS and WASM