How to adding sound file to /res/raw/

Hi,

I need to add a sound file to /res/raw/ as per firebase documentation, so i can call it as a custom sound for notifications. I added it as shown below but it didn't work. Any idea what's wrong ?


Hello, have you tried this solution? Here or this one

Tiago Gomes wrote:

Hello, have you tried this solution? Here or this one

Hi Tiago,

for the 1st thread; it works only if the app is in the foreground mode. If it's in the background, it doesn't work.

The 2nd thread is about deploying custom sound for ios using LOCAL NOTIFICATION PLUGIN. 

Actually i'm trying to use firebase messaging with Android. It looks like the REST API can't allocate the sound file in my app although i added it under  "res/raw/ " as required. I tried different tweaks with no success.