capacitor-community / text-to-speech

⚡️ Capacitor plugin for synthesizing speech from text.
MIT License
96 stars 27 forks source link

Ensure Android voice names are unique #96

Closed ecc521 closed 1 year ago

ecc521 commented 1 year ago

Expand the name property - this ensures that Android voice packages should have distinctly different names when shown to users. (close #95)

Don't love this formatting, so interested in alternative ideas as for ensuring voice names are unique but user friendly.

robingenz commented 1 year ago

Don't love this formatting

Neither do I. Apart from that, it is not a requirement so far that the name should be unique. The property description is: Human-readable name that represents the voice. This is currently given.

If you really want a unique name, you can append the property voiceURI to the property name by yourself. The other way round is more difficult. Apart from that, this would be a breaking change. I know of two companies that display this name to their users.

For this reason, I am closing this issue for now.