heremaps / here-android-sdk-examples

Java-based projects using the HERE SDK for Android.
Apache License 2.0
145 stars 191 forks source link

How to disable TTS instance in Here? #494

Open ouafae31 opened 2 years ago

ouafae31 commented 2 years ago

Describe the bug We have a language not supported by Here voice catalog, so we fall back to Android Text to Speech. The issue is that if we have already initialised Here engine with a different language, we here them both when we start the map navigation.

Steps To Reproduce Steps to reproduce the behavior:

  1. Start map navigation in English
  2. Change language to Romanian
  3. Start map navigation and you hear English and then Romanian

Expected behavior Hear navigation in Romanian only. We tried NavigationMAnager.stop() NavigationManager.audio.stop delete the catalog..nothing worked to not use Here tts instance in that case.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Add any other helpful context about the problem here.