I am able to receive push notifications in my app when sending from the Firebase Messaging console.
However, I want an mp3 that is in my app's bundle to play instead of the default sound.
Here's how I send the message:
But when I inspect the notification, the value of userInfo["aps"]["sound"] is 'default'. And so it plays the default sound.
The value of userInfo["sound"] is set to my filename, which isn't of help because this is outside of userInfo["aps"].
How do I get the value of userInfo["aps"]["sound"] to be my custom file name? Instead of default.