Speech FCM notification message in ionic angular in the background or when app is fired

Hello there

I spent a long time to trying to speak the FCM notification message when received in the background mode, but the custom audio/sound was not playing only the device’s default notification sound played.

I tried to use: Cordova background mode, native audio, and ionic text-to-speech. the ionic text-to-speech speaks to the notification message when the app is running.

please advice me.

Also, I already read about to create a channel for the sound by FCM but I’m using node.js admin server for sending the notification, and I did not find any code help me to create a channel in the admin server (node.js)

1 Like

Hi,

Try this https://ng-web-apis.github.io/