Page 1 of 1

Play sound file with local notification (Alarm app)

Posted: Wed Dec 02, 2015 3:46 pm
by cheolindo
Hi . I'm building an alarm app and I am using Local Notifications.

Is it possible to add custom sound to the alert ?
if it is not
¿ How can do this ?

Re: Play sound file with local notification (Alarm app)

Posted: Tue Dec 22, 2015 6:10 pm
by SomDude
hm...I think you can use

Code: Select all

play audioClip "YOUR AUDIO CLIP FILE LOCATION"
when the notification is triggered.

Re: Play sound file with local notification (Alarm app)

Posted: Wed Aug 08, 2018 4:47 am
by Jim Mac
Did you ever get this working.
The play sound after the notification is triggered only works if the app is open and the banner has already been dismissed (I believe) .