I am building an Android game using Unity and am trying to play a custom sound when the notification has been received by the device, however I can only get the default sound to play. According to the
Firebase documentation, to set the sound that is played, you just need to set the sound parameter of the notification to the filename of the sound to be played; the file must be located in /res/raw/. I have tried setting this parameter to the filename with and without the file extension and tried with .mp3 and .wav file types, but the only sound that plays is the default notification sound. I can confirm that in my final .apk file, the sound files that I am trying to play are located in the /res/raw/ folder. Any idea of why I cannot seem to override the default notification sound? Any help is appreciated, thank you!