[Firebase Cloud Message Plugin] Notification Custom sound

Forge Component
(6)
Published on 18 Jul by Experts
6 votes
Published on 18 Jul by Experts

HI 


How can I configure so my app plays custom sound when push notification received?


Regards,

Anahit

Hi Anahit,

You need the custom sound for which toolkit?

Hi Anahit,

Maybe this forum post will help: https://www.outsystems.com/forums/discussion/35714/local-notification-plugin-how-to-use-a-custom-sound/

I however haven't tried it myself.

In the SendNotification calls of FirebaseCloudMessageMiddleware there is a Sound input parameter. If you want a custom sound you have to fill the input with a link to your sound file. The sound file has to be bundled with the app so you should add it as a resource.