I’m using TTS plugin for my app. After installation it worked just fine, but after some moment plugin suddenly stopped working. Any attempts to catch exception didn’t give any results.
Only reasonable logs that I found were:
W: THREAD WARNING: exec() call to TTS.speak blocked the main thread for 36ms. Plugin should use CordovaInterface.getThreadPool()
W: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:836 android.content.ContextWrapper.sendBroadcast:410 android.speech.tts.TextToSpeechService$SynthThread.broadcastTtsQueueProcessingCompleted:460 android.speech.tts.TextToSpeechService$SynthThread.queueIdle:452 android.os.MessageQueue.next:392
W: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:836 android.content.ContextWrapper.sendBroadcast:410 com.samsung.SMT.b.i.a:-1 com.samsung.SMT.SamsungTTSService.b:-1 com.samsung.SMT.SamsungTTSService.b:-1
W: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:836 android.content.ContextWrapper.sendBroadcast:410 com.samsung.SMT.b.i.a:-1 com.samsung.SMT.SamsungTTSService.onSynthesizeText:-1 android.speech.tts.TextToSpeechService$SynthesisSpeechItemV1.playImpl:971
W: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:836 android.content.ContextWrapper.sendBroadcast:410 android.speech.tts.TextToSpeechService$SynthThread.broadcastTtsQueueProcessingCompleted:460 android.speech.tts.TextToSpeechService$SynthThread.queueIdle:452 android.os.MessageQueue.next:392
Any ideas what cause this or any solutions for this issue?
Just in case:
Cordova CLI: 7.0.0
Ionic Framework Version: 2.1.0
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.1.3
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v7.4.0
Xcode version: Not installed
“@ionic-native/text-to-speech”: “^3.10.3”