This provider sends APNs notifications using following fields and values.
Field |
Value |
Description |
action-loc-key |
"Show" |
Name of action |
content-available |
1 |
Mark notification as there is a content waiting for download (ie. XMPP message to retrieve) |
account |
Bare JID of user account |
|
unread-messages |
2 |
Number of unread messages waiting |
sender |
sender@example.com/test |
Full JID of a sender of the last message |
body |
"Text of a message body" |
Text of a message body limited to 500 chars with ellipsis added if message body exceeds 512 chars |
Note
Any of fields described above may be not passed if notification sent to PUSH provider does not contain values for a particular fields.