react-native-tts icon indicating copy to clipboard operation
react-native-tts copied to clipboard

Tts Tts.addEventListener('tts-progress', this._onProgress); is not working on android

Open laxusgooee opened this issue 6 years ago • 1 comments

componentDidMount() {
    ...

    Tts.addEventListener('tts-start', this._onStart);
    Tts.addEventListener('tts-progress', this._onProgress);
    Tts.addEventListener('tts-finish', this._onFinish);
    Tts.addEventListener('tts-cancel', this._onCancel);
  }

_onProgress = (event) => {  console.log(event) }

on ios this._onProgress works, but its not called on android

I tested on a device

laxusgooee avatar Oct 07 '18 14:10 laxusgooee

Yeah, noticed this too. That's because the progress hasn't been implemented on Android-side at all (checked the code...)

mrTuomoK avatar Sep 05 '19 10:09 mrTuomoK