Open manishoswal opened 6 years ago
I can confirm this happening with the currently available npm release. The issue should be solved by: https://github.com/vilic/cordova-plugin-tts/commit/dee3ea9ddb718ba0c428475664dc13f6cdb005eb#diff-84cfeb87388afa9c3deab81a3022fb7b
Unfortunately this change has not yet been release to npm. The maintainers of this plugin need to release the latest changes on npm to restore compatibility with the current Cordova versions.
For now, you should be able to workaround this issue by adding the plugin straight from the repository (instead of npm):
cordova plugin add https://github.com/vilic/cordova-plugin-tts
@beevelop - Thanks for the reply but i already tried that. Not sure why is it not returning promise.
Hi @maolion / @beevelop I have the same problem.
cordova plugin add https://github.com/vilic/cordova-plugin-tts did not work...
Do you have a solution?
Thanks
@manishoswal Did you clean your node_modules
and plugins
folder prior to reinstalling the plugin? Quite often Cordova doesn't pull it because it already exists (with the old version).
@maolion The new promise implementation does not return promise back to the native call. The console doesn't print in success or failure.