mapbox / mapbox/mapbox-navigation-android
Pause and resume the simulation of navigation
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
**Android API: 33**
**Mapbox Navigation SDK version: 10.15.0**
### Steps to trigger behavior
1. long click to set the destination and then start the navigation simulation
2. pause the simulation by calling `stopTripSession()`
3. resume the simulation by calling `startTripSession()`
### Expected behavior
- The navigation simulation should resume at the location where it was paused
### Actual behavior
- The simulation resumes at the another location, it seems the simulation works in background.
- I want to pause and resume the navigator
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
Reproduce the behavior on Android API 33 with Mapbox Navigation SDK 10.15.0, following the issue's long-click, navigation simulation, stopTripSession(), and startTripSession() steps. Trace the navigation simulation lifecycle around those session calls; done means resuming continues from the location where the simulation was paused rather than advancing in the background.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100