Imgur / incus

incus is a middleware for distributing messages via websockets, long polling, and push notifications
MIT License
361 stars 37 forks source link

Adding iOS push notification support #11

Closed jasdev closed 9 years ago

jasdev commented 9 years ago

When passing an iOS push via redis, the following schema is expected:

{
    "command" : {
        "command": "iospush",
        "device_token": user_device_token
        "build": (beta | enterprise | store)
    },
    "message" : {
        "event" : event_name,
        "data"  : object,
        "time"  : int
    }
}

The data object under message must have the following fields set: