mapbox / mapbox/mapbox-navigation-ios
[Bug]: When simulation starts under `inTunnels` mode the `NavigationService` failed to send out notification
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 918
- Forks
- 326
- Avg merge
- 1h 16m
- Merged PRs (30d)
- 3
Description
Mapbox Navigation SDK version
v2.1.1
Steps to reproduce
- Open
Example, set thenavigationViewController.navigationMapView?.userLocationStyle = .puck2D() - Set the location to a still customer location, build the app.
- Unselect the
simulationButton, to choose theinTunnelssimulation mode. - start navigation and wait till the simulation start
Expected behavior
The map puck will move because the NavigationService.simulate(intent:) is called to send out notification of simulation starts, and the NavigationViewController could set up simulated location provider for map puck.
Actual behavior
The map puck is stale because NavigationService.simulate(intent:) is not called.
Is this a one-time issue or a repeatable issue?
repeatable
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with NavigationService.simulate(intent:) and the inTunnels simulation path described in Example, then compare it with the simulationButton path. Reproduce the stale puck behavior and trace whether the simulation-start notification is sent. Done means the inTunnels path notifies NavigationViewController so the simulated location provider can update the map puck.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100