mapbox / mapbox/mapbox-navigation-android

Pause and resume the simulation of navigation

Open
#7,432 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.