ios - iOS8.2 not playing custom alert sound from parse.com app -


i have set push notification app via parse.com. app installed on iphone 5s running ios8.2. app code in swift

if send regular push notification, comes fine, plays short buzz (like 'quick' vibration or short standard 'note' text alert, rather have set standard text alert.

(if send imessage, , have alert tone set 'chord', plays ok)

if instead send dictionary version custom sound included in app bundle (yes, converted in terminal per apple instructions), still same above. cannot play custom alert sounds.

it makes no difference if originate push app, or button on parse.com

just other person said, ensure file in correct format (you want in .caf files)

also, sure have entered correct file name when sending push notification if using client push.

example parse docs:

let data = [ "alert" : "the mets scored! game tied 1-1!", "badge" : "increment", "sounds" : "cheering.caf" //ensure file exists in project ] let push = pfpush() push.setchannels(["mets"]) push.setdata(data) push.sendpushinbackground() 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -