Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
notnoop committed Jul 19, 2010
1 parent a426a08 commit f51999b
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions README.markdown
Expand Up @@ -32,8 +32,30 @@ config files, and a sample file would look like
routing = "notifier.notifications"
}

apns.keystore {
path = "/path/to/apns/certificate.p12"
pass = "apns_passcode"
apns {
keystore.path = "/path/to/apns/certificate.p12"
keystore.pass = "apns_passcode"
}

log {
filename = "/var/log/iphonenotifier.log"
roll = "daily"
}

Expected Message Format
=========================

The AMPQ notifier expects JSON messages, that contain three properties:

token - The Device token the message should go to
payload - The JSON payload, as specified by Apple
expiry (optional) - the expiration time of the message, specified in
seconds from epoch

Sample message:

{
"token": "1234567890abcdef...",
"payload": { "aps": {"alert": "Hello World!"} }
}

0 comments on commit f51999b

Please sign in to comment.