I can NOT get an audio file to play for a local notification, I only get the default sound.
I’m using an audio file that’s Linear PCM and have tried bot aiff and caf versions (converted to caf using the afconvert tool in terminal).
Does someone have an audio that’s KNOWN to work with local notifications on an iOS device that I could have to work with? I’m pretty sure my code is correct, but without a working audio file I’m not sure where the problem is.
Any hints for getting audio with local notifications working would be GREATLY appreciated!
Thanks.
Jay
PS - Here’s the code I’m using:
local options = {alert="Yowza!", sound="alarm.caf"} system.scheduleNotification( 10, options )
The message shows, but I get only the system audio.