Skip to content

Silent push notifications

There are situations where you may need to update your app, pass data, or retrieve new content from your server without notifying the user or displaying any visible alerts. Silent push notifications are designed for exactly this purpose.

Silent push notifications are delivered to users’ devices with no alert or sound. The app icon badge isn’t suppressed. A silent push can still set it if the payload carries a badge value. Only auto-incrementing the badge doesn’t work, since that relies on code that only runs for pushes with an alert. When a silent push arrives, the app is woken up in the background. Users don’t recognize any alerts and don’t see any push content.

By sending silent push notifications, you can:

  • Notify your app about new content available to download
  • Perform some tasks in the background
  • Get new data from your server
  • Pass custom data to the app

Silent push notifications also come in handy when you need to clean up the user base. Every time a push is sent, all invalid or non-existent push tokens are removed from our database. That’s why silent push notifications are used in Uninstalls tracking, which keeps your user base valid and updated.

Implementation

Anchor link to

Customer Journey

Anchor link to

You can send silent push notifications using the Data to app element in Customer journeys. The Data to app element automatically sends silent push notifications with custom data to trigger in-app actions without alerting users.

To send silent push notifications:

  1. Add the Data to app element to your Journey canvas.
  2. Paste your JSON code into the provided field. The JSON payload contains the custom data your app will process when the silent push is received.
  3. Click Save to apply the configuration.

The silent push notification will be delivered to users’ devices in the background, waking up your app to process the custom data without displaying any alerts or sounds. The app icon badge can still change if the payload sets one.

You can also send silent push notifications via the Pushwoosh API with the assistance of your development team.