text-to-speech
text-to-speech copied to clipboard
feat: add support for `getSupportedVoices` on iOS
Is your feature request related to a problem? Please describe.
getSupportedVoices
should also be available on iOS.
Currently an empty array is returned.
Describe the solution you'd like
Add support for getSupportedVoices
on iOS.
Describe alternatives you've considered Mark as unsupported in docs.
I can help with this if this is unplanned at the moment, I've written this for my Cordova plugin cordova-plugin-tts-advanced (https://www.npmjs.com/package/cordova-plugin-tts-advanced)
Hi, thank you. Any support is welcome. Just create a PR.
Any progress?
Logically I see two options here:
- Just use speechSynthesis on iOS
- Implement the iOS voices using native APIs.
The current behavior probably makes the least sense of the three - merely using the webview's speechSynthesis on iOS would implement support for voices on iOS and reduce the size of the codebase to maintain.
PR submitted