mapbox / mapbox/mapbox-navigation-ios

MapboxSpeechSynthesizer don't work with custom navigation View Controller

Open
#2,707 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

archived
Dominant language
Swift
Stars
918
Forks
326
Avg merge
1h 16m
Merged PRs (30d)
3

Description

Mapbox Navigation SDK version: 1.0.0

i'm trygin to custom my navigation View Controller (i don't use NavigationViewController of mapbox) , everything work fine before this version : But now the MapboxSpeechSynthesizer don't work :

let speechSynthesizer = MultiplexedSpeechSynthesizer([MapboxSpeechSynthesizer(), SystemSpeechSynthesizer()] as? [SpeechSynthesizing])
let routeVoiceController = RouteVoiceController(navigationService: navigationService, speechSynthesizer: speechSynthesizer)

MapboxSpeechSynthesizer detect well instructions of mapbox (notifications) but can't play audio of amazon . is work fine only with NavigationViewController. SystemSpeechSynthesizer also work fine when i maked it like a first element.

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 MapboxSpeechSynthesizer, MultiplexedSpeechSynthesizer, and RouteVoiceController using the reported Mapbox Navigation SDK 1.0.0 setup. No source file or test is identified in the issue, so first reproduce the failure with a custom navigation view controller and compare it with NavigationViewController; done means Amazon speech audio plays in the custom setup while system speech and route instructions continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.