Closed ikejs closed 2 years ago
Receiving yellow console warning when calling Tts.speak(word)
const ee = new NativeEventEmitter(NativeModules.TextToSpeech); ee.addListener('tts-start', () => {}); ee.addListener('tts-finish', () => {}); ee.addListener('tts-cancel', () => {});
I don't think there is a need to fix it, but thanks for providing way to silence them. You probably could do
Tts.addEventListener('tts-start', () => {}); ...
as well.
Receiving yellow console warning when calling Tts.speak(word)
Temporary solution