Skip to content

[flutter_tts] Add clearVoice - #1180

Merged
seungsoo47 merged 1 commit into
flutter-tizen:mainfrom
seungsoo47:bot/upstream-plugins-flutter-tts-clear-voice
Oct 7, 2026
Merged

seungsoo47 merged 1 commit into
flutter-tizen:mainfrom
seungsoo47:bot/upstream-plugins-flutter-tts-clear-voice

Conversation

@seungsoo47

Copy link
Copy Markdown
Contributor

flutter_tts calls clearVoice to reset the voice chosen by setVoice, but the Tizen plugin had no handler for it, so the call failed with MissingPluginException. Reset the voice type to TTS_VOICE_TYPE_AUTO so the engine picks the voice again (like iOS clearing its selected voice), and return 1 like Android and iOS.

Upstream: flutter_tts 4.0.0 "Add clear selected voice" (Android/iOS)

flutter_tts calls clearVoice to reset the voice chosen by setVoice, but the
Tizen plugin had no handler for it, so the call failed with
MissingPluginException. Reset the voice type to TTS_VOICE_TYPE_AUTO so the
engine picks the voice again (like iOS clearing its selected voice), and
return 1 like Android and iOS.

Upstream: flutter_tts 4.0.0 "Add clear selected voice" (Android/iOS)
https://github.com/dlutton/flutter_tts/blob/master/CHANGELOG.md#400
@seungsoo47
seungsoo47 merged commit c3c8b02 into flutter-tizen:main Oct 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants