Skip to content

docs(compass): correct ReportInterval support for iOS and WASM - #24655

Merged
MartinZikmund merged 1 commit into
unoplatform:masterfrom
amandeavor:fix/compass-reportinterval-ios-wasm
Oct 9, 2026
Merged

MartinZikmund merged 1 commit into
unoplatform:masterfrom
amandeavor:fix/compass-reportinterval-ios-wasm

Conversation

@amandeavor

Copy link
Copy Markdown
Contributor

Summary

The Compass "Supported features" table had the iOS and Web (WASM) columns for ReportInterval reversed.

Why this is wrong

  • Compass.iOS.cs does not declare ReportInterval (heading updates come from CLLocationManager)
  • Compass.wasm.cs declares public uint ReportInterval and forwards it to the composed Accelerometer/Magnetometer sensors
  • Android correctly lists ✔ (it does declare the member)

Anyone 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 ReportInterval row in doc/articles/features/compass.md:

Feature … iOS Web (WASM) …
ReportInterval … ✖ ✔ …

Fixes #24649

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 unoplatform#24649
Copilot AI lite review requested due to automatic review settings September 25, 2026 07:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@unodevops

Copy link
Copy Markdown
Contributor

@MartinZikmund

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@unodevops

Copy link
Copy Markdown
Contributor

@mergify

mergify Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@MartinZikmund
MartinZikmund merged commit b111564 into unoplatform:master Oct 9, 2026
16 checks passed
@welcome

welcome Bot commented Oct 9, 2026

Copy link
Copy Markdown

🎉 Congratulations on getting your very first pull request merged into Uno Platform! This is a huge milestone — you are now officially part of the community of contributors helping shape the future of cross-platform .NET development, and your code will reach developers and apps all over the world. 🌍

We are genuinely grateful for the time and care you put into this contribution. Every PR — big or small — makes Uno Platform better for everyone, and we hope this is the first of many. We cannot wait to see what you build next! 🚀

As a small thank-you, we would love to send you some swag so you can wear your contributor status with pride. And if you have any feedback or ideas on how we can make contributing to Uno Platform even better, please open a feedback issue — we truly value your perspective.

giphy
Welcome to the family, and merci beaucoup! 👋❤️

@amandeavor
amandeavor deleted the fix/compass-reportinterval-ios-wasm branch October 10, 2026 14:39
@agneszitte

Copy link
Copy Markdown
Member

@Mergifyio backport servicing/6.8 release/stable/6.7

@mergify

mergify Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

backport servicing/6.8 release/stable/6.7

✅ Backports have been created

Details

agneszitte added a commit that referenced this pull request Nov 2, 2026
…r-24655

docs(compass): correct ReportInterval support for iOS and WASM (backport #24655)
agneszitte added a commit that referenced this pull request Nov 2, 2026
…6.7/pr-24655

docs(compass): correct ReportInterval support for iOS and WASM (backport #24655)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compass docs table has iOS and WASM ReportInterval support reversed

5 participants