mapbox / mapbox/mapbox-navigation-android

Voice Instructions and maneuver not working in fragments.

Open
#5,727 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug :beetle: jira-sync-complete question
Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

Im following the below example in a fragment, however the sample is working fine in activity but not in fragments. sound observer and maneuver observers never receive data.

https://docs.mapbox.com/android/navigation/examples/turn-by-turn-experience/

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

Start with the linked turn-by-turn experience example and compare its Activity setup with the Fragment usage described here. Trace where the sound and maneuver observers are registered and determine why they receive no data in a Fragment; done means both observers behave as they do in the Activity example.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.