I get the error while using Web Speech API on the device.
the following works on browser not on the device
if(chatMessage.bot_msg && chatMessage.text && chatMessage.text != '')
{
var msg = new SpeechSynthesisUtterance(chatMessage.text);
window.speechSynthesis.speak(msg);
}
And throws error
SpeechSynthesisUtterance is not defined
I want to know if there is a way we can get the support in the ionic 1 app itself.
I have used TTS cordova plugin. But would like to know the differences, and support for these features.