text-to-speech icon indicating copy to clipboard operation
text-to-speech copied to clipboard

feat: add support for `getSupportedVoices` on iOS

Open robingenz opened this issue 3 years ago • 3 comments

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.

robingenz avatar Mar 09 '21 11:03 robingenz

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)

spasma avatar Mar 11 '21 11:03 spasma

Hi, thank you. Any support is welcome. Just create a PR.

robingenz avatar Mar 11 '21 18:03 robingenz

Any progress?

RouR avatar Oct 08 '22 16:10 RouR

Logically I see two options here:

  1. Just use speechSynthesis on iOS
  2. 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.

ecc521 avatar Mar 06 '23 17:03 ecc521

PR submitted

ecc521 avatar Mar 07 '23 02:03 ecc521