/ alert

Silent notifications

Q: Is it possible to send push messages that won’t display any alert message and won’t play any sound? I’m only interested in sending a badge value.

A: Yes, you can send JSON /createMessage API request EXCLUDING the “content” parameter, such message will not show any alert/banner.

If you don’t want to play a sound regardless of users’ settings, you should simply add a silent sound file to the main bundle of your application, and then put this sound filename in “ios_sound” parameter of the message.