Skip to content

feat!: expose turn-by-turn event payloads - #678

Merged
jokerttu merged 4 commits into
mainfrom
fix/turn-by-turn-types
Oct 16, 2026
Merged

jokerttu merged 4 commits into
mainfrom
fix/turn-by-turn-types

Conversation

@illuminati1911

@illuminati1911 illuminati1911 commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor
  • Add typed turn-by-turn event and step payloads.
  • Align Android and iOS payload fields, including simpleRoadName and roundabout exit numbers.
  • Round iOS distances and durations to whole meters and seconds, keep zero values, and omit values the navigator reports as unavailable.
  • Add integration coverage and usage documentation.

BREAKING CHANGE: TurnByTurnEvent now declares its native payload fields. Code that manually constructs these events must provide the required fields.

Fixes: #641

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation
  • I added new tests to check the change I am making
  • All existing and new tests are passing.

@jokerttu
jokerttu merged commit b50240a into main Oct 16, 2026
18 checks passed
@jokerttu
jokerttu deleted the fix/turn-by-turn-types branch October 16, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TurnByTurn JS payload diverges from the TS types: step field names, maneuver type, missing/empty fields

2 participants