{"_id":"561f72bacec1a50d00979598","project":"54aa7f773b56130b0056c86e","githubsync":"","parentDoc":null,"version":{"_id":"55781fe25129590d003ff4f7","project":"54aa7f773b56130b0056c86e","forked_from":"54aa7f773b56130b0056c871","__v":6,"createdAt":"2015-06-10T11:30:42.700Z","releaseDate":"2015-06-10T11:30:42.700Z","categories":["55781fe35129590d003ff4f8","55781fe35129590d003ff4f9","55781fe35129590d003ff4fa","55781fe35129590d003ff4fb","55781fe35129590d003ff4fc","55781fe35129590d003ff4fd","55781fe35129590d003ff4fe","564bbc7e8841060d00abb2ee","565b66c446118c0d00dcb0bb","56898269f8dc340d00308c13","582318b23b961a0f009516a1","594a848c9f4771001a43c959"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Developers","version_clean":"2.0.0","version":"2.0"},"category":{"_id":"55781fe35129590d003ff4fb","version":"55781fe25129590d003ff4f7","__v":11,"pages":["55781fe45129590d003ff517","55781fe45129590d003ff518","55781fe45129590d003ff519","55781fe45129590d003ff51a","55781fe45129590d003ff51b","55781fe45129590d003ff51c","55781fe45129590d003ff51d","55781fe45129590d003ff51e","55781fe45129590d003ff51f","55781fe45129590d003ff520","55781fe45129590d003ff521","55781fe45129590d003ff522","5579ab5fc7fb3f2100096fad","55f7de1660cc850d008a7a22","55f7e1fbe32e9b0d00a2d4d0","561f72bacec1a50d00979598","561f764f61c0521700acc428","563337539c607719001b85dd","564318f1f49bfa0d002f5566","564f03454f000617007bd670","565ee80a23fd5f0d00a129f9","56793cd73473bc0d008e141b"],"project":"54aa7f773b56130b0056c86e","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-01-05T12:43:51.897Z","from_sync":false,"order":3,"slug":"ios-sdk","title":"iOS SDK"},"user":"54aa7f3f9bb00c0b00cb899b","__v":12,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-10-15T09:32:42.963Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":13,"body":"You can set a custom sound for Pulsate sound notifications in your app. All you have to do is  add the sound to your project.\n\nWhen you've prepared the file, just add it to your XCode project resources, so it ends up in the application bundle. The easiest way is to drag & drop the file and XCode will do the rest.\n\nCustom alert sounds are played by the iOS system-sound facility, so they must be in one of the following audio data formats:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"Linear PCM\\nMA4 (IMA/ADPCM)\\nµLaw\\naLaw\\n\\nYou can package the audio data in an aiff, wav, or caf file.\\n\\nCustom sounds must be under 30 seconds when played.\\n\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\n[Read more in the Apple Documentation](https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/IPhoneOSClientImp.html#//apple_ref/doc/uid/TP40008194-CH103-SW6) \n\nYou can add multiple custom push sounds to your app. When you are sending configuring the push notification on Pulsate, click on Advanced Options and switch on Notification Sound. You can then enter the name of any of the audio files that you added to your app project and that audio file will be played when a user received that push notification.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/cde46f6-Screenshot_2017-02-27_17.38.12.png\",\n        \"Screenshot 2017-02-27 17.38.12.png\",\n        469,\n        792,\n        \"#f7f7f6\"\n      ],\n      \"caption\": \"Push Notification Sound\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"adding-custom-push-sound","type":"basic","title":"Adding Custom Push Sounds"}

Adding Custom Push Sounds


You can set a custom sound for Pulsate sound notifications in your app. All you have to do is add the sound to your project. When you've prepared the file, just add it to your XCode project resources, so it ends up in the application bundle. The easiest way is to drag & drop the file and XCode will do the rest. Custom alert sounds are played by the iOS system-sound facility, so they must be in one of the following audio data formats: [block:code] { "codes": [ { "code": "Linear PCM\nMA4 (IMA/ADPCM)\nµLaw\naLaw\n\nYou can package the audio data in an aiff, wav, or caf file.\n\nCustom sounds must be under 30 seconds when played.\n", "language": "text" } ] } [/block] [Read more in the Apple Documentation](https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/IPhoneOSClientImp.html#//apple_ref/doc/uid/TP40008194-CH103-SW6) You can add multiple custom push sounds to your app. When you are sending configuring the push notification on Pulsate, click on Advanced Options and switch on Notification Sound. You can then enter the name of any of the audio files that you added to your app project and that audio file will be played when a user received that push notification. [block:image] { "images": [ { "image": [ "https://files.readme.io/cde46f6-Screenshot_2017-02-27_17.38.12.png", "Screenshot 2017-02-27 17.38.12.png", 469, 792, "#f7f7f6" ], "caption": "Push Notification Sound" } ] } [/block]