Is it possible to send a completely silent notification using remote api?

I've seen an example in which when content is not included in the createMessage, no alerts/banners will show when the app is not running but the phone will still vibrate (when the phone is set to vibrate mode)

I've also seen an example in which when ios_sound is set to nothing "", the phone will not vibrate but the alert will be shown.

However, I could not get it to work with no content sent out and ios_sound is set to nothing. In other words, is it possible to send a completely silent notification with no alerts and no vibrate when the app is closed or not in focus (cause I just want the custom data).

asked 20 Aug '14, 07:33
tysjiang's gravatar image


Sure you can! Just set the "ios_sound" to "" and complete erase "content" part from createMessage.

It should work!

permanent link
answered 25 Aug '14, 03:23
jangtingshouh's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 20 Aug '14, 07:33

question was seen: 1,545 times

last updated: 25 Aug '14, 03:23