mapbox / mapbox/mapbox-navigation-android
Voice Instructions and maneuver not working in fragments.
Open
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
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 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