flutter_tts icon indicating copy to clipboard operation
flutter_tts copied to clipboard

completionHandler not called when a talkback event occurs while synthesize to file is processing

Open KiruthikaAdhi opened this issue 4 years ago • 2 comments

🐛 Bug Report

Expected behavior

Reproduction steps

Configuration

Version: 0.1.x

Platform:

  • [ ] :iphone: iOS
  • [ ] :robot: Android

KiruthikaAdhi avatar Jun 26 '20 17:06 KiruthikaAdhi

I show a loading dialog when I call synthesize to file and closing the dialog when the completionHandler callback is called. But when the loading dialog is shown if I tap on the screen with talkback enabled then the completionHandler is not called at all.

I think the talkback event interrupts the synthesizeToFile and stops the synthesis. Is there a way to overcome this?

KiruthikaAdhi avatar Jun 26 '20 18:06 KiruthikaAdhi

can you provide an example or snippet showing your what you're code is doing? Is this occurring on iOS, Android, or both?

dlutton avatar Jul 07 '20 17:07 dlutton