flutter_tts icon indicating copy to clipboard operation
flutter_tts copied to clipboard

Sometimes the completion handler doesn't call and the plugin doesn't talk

Open ConProgramming opened this issue 7 years ago • 3 comments

🐛 Bug Report

Sometimes the completion handler doesn't call and it doesn't talk. Others is does, but I noticed when I switch to a new a page in my app that also has an instance of the plugin, sometimes when I return to the original page the completionhandler doesn't fire and it doesn't talk. I've narrowed it down to being this, but I'm not sure why.

I'm on the latest version of the plugin.

ConProgramming avatar Oct 03 '18 23:10 ConProgramming

Does this only occur when navigating to another page and then back? Is this occurring on Android or IOS?

dlutton avatar Oct 04 '18 18:10 dlutton

Only occurs when navigating to another page and then back with another instance of flutterTts. Its occuring on Android

ALSO: It either occurs more often or only occurs in production mode

ConProgramming avatar Oct 06 '18 14:10 ConProgramming

Currently this plugin doesn't support multiple instances as mentioned in a previous issue. I have it opened as an enhancement.

dlutton avatar Oct 18 '18 21:10 dlutton