[Firebase Cloud Message Plugin] Notification Custom sound
Forge component 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.

Ruben van Vugt wrote:Hi thank you very much for your reply.

the ios sound works, but for android when I do it same way is not working. 

Do I have to target sound files in a specific directory for android?

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.



Hi Everyone


Is there possibility to change android push notification sound ?

Anahit Pahlevanyan wrote:

Hi Everyone


Is there possibility to change android push notification sound ?


For iOS, it is possible, not sure about Android Anahit.

hello, 

i have the same requirement, i am using FirebaseMobile plugin it is working fine, but i want to use custom sound, how can i achieve that ? i searched in the forum i saw many people asking the same question but i couldn't find an answer or clear documentation. 

thanks and regards, 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.