mapbox / mapbox/mapbox-navigation-android
[Feature Request] Allow to stop ActiveGuidance on DropIn
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
## New Feature
Currently you can start an active guidance session with the drop in ui to start a navigation.
To stop the navigation you currently have to rely on the integrated button.
I tried it with stopTripSession and setRoutes() with an empty list, sadly guidance is not stopped
Or am I just missing it?
## Why
Allow stopping the guidance session over a dedicated function. No need to overwrite the and overstyle the integrated button. Would opt for ease of use.
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 by locating the DropIn UI's active guidance lifecycle and the existing stopTripSession and setRoutes() entry points. Check how guidance is started and how the integrated stop button handles it. Done means a documented, dedicated way to stop guidance from DropIn without replacing or restyling the integrated button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100