We're trying to work out the Android equivalent of the ios flag content-available = 1.

On an IOS device if you send a notification with content-available = 1, then no notification is displayed, no sound is made and it can be used as a trigger to get the ioS device to do something quietly.

We are trying to work out the same mechanism for Android. We know how to turn sounds off, (thats easy) but we also do NOT want a notification to be displayed.

We can't send a blank content message as the API doesn't allow us.

The doc page http://docs.pushwoosh.com/docs/createmessage doesn't seem to have any indication of how to do this.

Any suggestions welcomed.



asked 01 Jan '16, 15:52
rwillett's gravatar image


This will appear in the next release, I'll post it as soon as it is available. Just need to add this parameter to the API.

permanent link
answered 11 Jan '16, 12:50
shader's gravatar image



Is there any update on this please? It would be great to see this and stacked notifications in Android.

I'm hoping that the content-available flag in Android would work like this:

  1. If the content-available flag is set to 1 then the notifications is never displayed on Android but its triggered in the PushWoosh notification code.

  2. A payload is available to be sent with the content-available=1 notification. The payload should be JSON structured. We're not particularly bothered about the size of the payload, if its limited to (for example 255 bytes) thats fine, we will use it as a trigger to do something else.

  3. On Android the pushwoosh notification code runs in the background for after the user backgrounds the app. At the moment I recall the moment the app is put in the background, then all notifications are sent to the OS rather than the app itself. It would be great to have the pushwoosh code handling content-available flags in the background.

This would allow us to send data updates to the app as needed when the app is in the foreground and in the background without them being displayed to the user.



permanent link
answered 13 Feb '16, 09:26
rwillett'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](http://url.com/ "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: 01 Jan '16, 15:52

question was seen: 1,779 times

last updated: 13 Feb '16, 09:26