【发布时间】:2015-06-05 20:33:19
【问题描述】:
我正在尝试使用 raix(版本 2.6.1)从浏览器控制台发送推送通知。 我尝试使用来自this tutorial 的 php 脚本进行推送,它适用于我拥有的证书和密钥,但是当我使用 raix 尝试它时,手机上没有任何反应。我试着做:
Push.send({from: "pushfrom", title:"hello", text:"world", token:{apn: "my_ios_device_token"}});
这是我的 config.push.json
{
"apn": {
"passphrase": "xxxxxxx",
"key": "aps_key.pem",
"cert": "aps_cer.pem"
},
"badge": true,
"sound": true,
"alert": true,
"vibrate": true
}
我有不安全的包,但我尝试添加 Push.allow 并没有帮助。
我如何知道通知实际上是被推送到 APNS 还是什么都没有发生?
【问题讨论】: