I am sending a Push Notification from Firebase Functions using the following Javascript payload:
const payload = {
notification: {
title: 'The Request Limit Has Been Reached',
body: numberOfRiders + ' riders denied',
sound: 'badtone.caf'
}
};
And the .caf file is in the iOS app that this function is associated with in the same location as the rest of the files. However the notification still uses the default sound. The file is less than 30 seconds long so I have no clue what the problem is!