[Feature Request] Allow to stop ActiveGuidance on DropIn

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
kotlin
Domain
mobile

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.

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.

Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

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.

More from mapbox/mapbox-navigation-android

All issues in mapbox/mapbox-navigation-android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.