cordova-plugin-tts
cordova-plugin-tts copied to clipboard
Locale "en-GB" causes error ERR_UNKNOWN
Example:
window.TTS.speak({text: "some message", locale: "en-GB", rate: 1.65}, a => a, error => console.log(error))
It won't work, error function is called with ERR_UNKNOWN as an argument.
got the same problem :/
I got the same issue.
this.tts.speak({ text: "Welcome, I am Barun.", locale: 'en-IN', rate: 0.75 }) .then(() => { console.log('Success'); }) .catch((reason: any) => { console.log(reason) // here, I am getting ERR_UNKNOWN });