Audio continues after app is manually closed
Hi @ak1394 thanks for the great job with this library, I'am testing it and I can automatically stop the audio if the user leave the current View with componentWillUnmount as you can check here:
componentWillUnmount(){
Tts.stop();
}
However, if the user switch to another app or force to close the app, the sounds continue until the entire text is completely readed. Is there any option to avoid this behavior?
Does anyone have this issue as well? This is happening on a Huawei P8 plus. I'm looking for a solution to add this library to my project.
Hi @vtisnado , did you try to stop the TTS in the AppState events https://facebook.github.io/react-native/docs/appstate.html ?