2015-02-10 33 views
2

我试图使用节点pushserver lib中插入一个自定义的iOS推送通知......定制的iOS与节点pushserver推

,我想是的格式为:

"aps": { 
     "alert": "joetheman", 
     "sound": "default" 
    }, 
    "message": "Some custom message for your app", 
    "id": 1234 

的格式我有:

"ios": { 
       "badge": 0, 
       "alert": message.message, 
       "sound": "soundName" 
       } 

我该怎么做?

+1

我有同样的问题.. – Marabita 2015-02-10 21:00:44

回答

0
"ios": { 
       "badge": 0, 
       "alert": message.message, 
       "sound": "soundName", 
       "payload" : { 
        "message": "Some custom message for your app", 
        "id": 1234 
       } 
     }