Open Woean opened 4 years ago
I'm trying to get "speaking" notifications, with the text to speech (tts) plugin:
push.on('notification', function (data) { TTS.speak({ text: 'DEMO', locale: 'en-US', rate: 0.75 }).then(function () { alert('success'); }, function (reason) { alert(reason); }); }, false);
It works when the app is in the foreground and open, but not in the background. Does anyone have an idea/same problem/solution? Thanks :)
Expected Behaviour
I'm trying to get "speaking" notifications, with the text to speech (tts) plugin:
Actual Behaviour
It works when the app is in the foreground and open, but not in the background. Does anyone have an idea/same problem/solution? Thanks :)