cordova plugin add https://github.com/kn4rfy/cordova-plugin-tts-notification
document.addEventListener('deviceready', function () {
TTSNotification.speak({title: 'Title', icon: 'icon', message: 'Message', language: 'en-US'}, function () {
console.log('Speak success');
}, function (reason) {
console.log('Speak failed. error: ' + reason);
});
}, false);
This plugin is based from Vilic's Cordova Text-to-Speech Plugin
Windows version is not supported at this moment. It is available here but you have to make the notification yourself.