You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just downloaded and tried this and had the same issue and I resolved it.
First the problem. The JS in the plugin isn't returning a promise. That's why it's returning undefined.
Look at this file on your computer: plugins\cordova-plugin-tts\www\tts.js
You'll notice it's much different to what is on GitHub. So what I did was delete everything in my plugin folder, downloaded this right from GitHub and replaced the files in my folder. I then had to remove android as a platform and re-add it in order to clear out cordova's cache. Then I ran cordova run android and it worked.
So essentially the issue is that when you run "cordova plugin add cordova-plugin-tts" you get the wrong files.
I get this error with android. what could the problem be?
The text was updated successfully, but these errors were encountered: