Hi @charliecruzan, both types of notifications could not play the sound I imported.
The payload will look like the following screenshot, this is from our backend:
If you are referring to that, we have specified the base filename of the sound file that we included in app.json. However, the app still failed to play custom sound.
in a standalone app built with EAS. You may want to try and debug this further locally by running expo run:android, which will build a debug version of your project and install it onto your connected device
I tried the expo run: android to debug and use the same structure you mentioned. However, my custom notification sound still failed to play. Based on the logs, I realized that the value of the sound property is “custom” instead of what I specify in the code.
Is that the expected value we will see in the log?
I believe it was the length of the audio that causing the failure to play the custom sounds. The audio file I had was 2s long. I only realized this after I try to imported other audio with more than 3s length and managed to play it.
I then add one more second of silence in front my audio. Then, the custom notification sounds can be played.