local notifications custom sound not working

hi all,

this is my code.

local notificationsx = require( “plugin.notifications.v2” )

local options = {

    alert = “please for the love of god wake up!”,

    badge = 2,

    sound = “alarm.caf”,

    custom = { foo = “bar” }

}

local dan = notificationsx.scheduleNotification(10, options)

I’ve got alarm.caf in my resources directory but I can’t hear the custom sound on my Android device. Also in the listener, event.sound is printing nil. What do I do? I’ve tried different file formats to no avail,

cheers

bump

I’ve had a similar problem for some time so I’d also be interested to know if anyone has any idea why this happens. 

Strangely, on my Galaxy S7 I just hear the default device notification noise but my colleague hears the correct custom sound on his Galaxy S10.   

I want a custom sound for a scheduled notification with the sound parameter.

bump

I’ve had a similar problem for some time so I’d also be interested to know if anyone has any idea why this happens. 

Strangely, on my Galaxy S7 I just hear the default device notification noise but my colleague hears the correct custom sound on his Galaxy S10.   

I want a custom sound for a scheduled notification with the sound parameter.