Push Notification Headers¶
The headers described below must included with every push notification, when using the Push API.
Operating System |
Headers |
Description |
---|---|---|
iOS |
"ios-alert-title"``:value |
Sets the title of the push notification message. |
"ios-alert-subtitle"``:value |
Sets the sub-title of the push notification message (iOS 10+) |
|
"ios-alert-body"``:value |
Sets the text of the alert message. If the header is not present and the published notification targets the iOS devices, Backendless sets the header to the value of the "message" argument. |
|
"ios-badge"``:value |
Sets the value to update the badge with |
|
"ios-sound"``:URL string or array of bytes |
Sets either a URL for the sound notification to play on the device or an array of bytes for the sound to play. |
|
"ios-content-available"``:value |
Configures a silent-notification. When this key is present, the system wakes up your app in the background and delivers the notification to its app delegate. |
|
Android |
"android-ticker-text"``:value |
Sets the text of the ticker showing up at the top of a device's screen when the device receives the notification. |
"android-content-title"``:value |
Sets the title of the notification as it is visible in the Android Notification Center |
|
"android-content-text"``:value |
Sets the message of the notification which appears under android-content-title in the Android Notification Center. |