The structure of HTTP headers for sending Apple Push Notification
Service (APNS) notifications through SAP Mobile Platform.
- < x-sup-apns-alert> – The alert can consist of either a JSON-formatted request, or as these
separate headers:
- <x-sup-apns-alert-body> – The text of the alert message.
- <x-sup-apns-alert-action-loc-key> – If a string is specified, displays an alert with two buttons,
Close and View. iOS uses the string as a key to get a localized
string in the current localization to use for the right button's
title instead of "View." If the value is null, the system
displays an alert with a single OK button that dismisses the
alert when tapped.
- <x-sup-apns-alert-loc-key> – A key to an alert-message string in a
Localizable.strings file for the
current localization.
- <x-sup-apns-alert-loc-args> – Variable string values to appear in place of format specifiers
in
<x-sup-apns-alert-action-loc-key>.
- <x-sup-apns-alert-launch-image> – The filename of an image file in the application bundle; it may
include the extension or omit it. The image is used as the
launch image when users tap the action button or move the action
slider. If this property is not specified, the system either
uses the previous snapshot, uses the image identified by the
UILaunchImageFile key in the
application’s Info.plist file, or falls
back to Default.png. This property was
added in iOS 4.0.
- <x-sup-apns-badge> – Number to be displayed as the badge on the application icon.
- <x-sup-apns-sound> – Name of the sound file in the application bundle.
- <x-sup-apns-data> – Custom payload data values that must use the JSON structured and primitive
types: dictionary (object), array, string, number, and Boolean.
For more information on APNS headers, see http://developer.apple.com/library/mac/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ApplePushService/ApplePushService.html