Closed tom-s closed 7 years ago
When I run this:
Speech.speak({
text: 'Hello, how are you today?',
onError: (e) => {
console.log('sorry an error occured.', e)
}, // optional error callback
onEnd: () => {
console.log('your text has successfully been spoken.')
} // optional onEnd callback
})
I'm getting this in the console:
sorry an error occured. undefined
I've forgotten to pass the exception on the onError callback. It's fixed and published. It won't solve your issue but the log should indicate you what's going wrong.
Cleaned dependancies + fixed onEnd issue