cordova-plugin-tts
cordova-plugin-tts copied to clipboard
Ionic framework 5 - how to install?
This plugin is awesome but when i use these commands i install old version of the plugin code:
npm install cordova-plugin-tts
npm install @ionic-native/text-to-speech
ionic cap sync
I need checkLanguage() and openInstallTts() methods in my project. Can someone help me please? I use Ionic framework 5 with Capacitor and Angular.
I tried changing TTS.java and tts.js manually but the methods were undefined.
I also tried installing the plugin directly from Github:
npm install https://github.com/vilic/cordova-plugin-tts.git --save
It did't help.
I think ionic-native adds somekind of a wrapper to the plugin. I have no expierience with making plugins. I need step by step instruction how to overide this.