dlutton/flutter_tts

"completionHandler" doesn't get triggered on iOS when speaking by the plugin is interrupted by some other audio related action like phone call, telegram/slack call, etc.

Opened this issue ยท 0 comments

๐Ÿ› Bug Report

Upon testing on iOS I found that, when speaking is going on by the FlutterTTS and it's interrupted by a telegram call or slack huddle, cancelHandler gets triggered and it will start the speaking again from the very start again, and this second time speaking which is going on doesn't trigger completionHandler as well as even when I try to call the .stop() method in the cancelHandler, it doesn't stop the speaking.

Expected behavior

  • completionHandler should be triggered when speaking is going for the second time (automatically after an interruption)

  • we should be able to stop the second time speaking using the .stop() method.

Reproduction steps

Configuration

Version: 4.0.2

Platform:

  • ๐Ÿ“ฑ iOS
  • ๐Ÿค– Android