ios api发送成功,但是手机通知栏收不到消息

yifan
2019-12-11 05:39 289 0

我这边用registrationId:1517bfd3f7bb8c96807进行推送,收到{"msg_id":2251840756415714,"sendno":853480170,"statusCode":0},但是在手机通知栏上没有显示,
请求参数:

{
"platform":[
"ios"
],
"audience":{
"registration_id":[
"1517bfd3f7bb8c96807"
]
},
"notification":{
"alert":"极光测试",
"ios":{
"alert":{
"title":"极光标题",
"body":"极光测试"
},
"badge":"1",
"sound":"push.mp3",
"mutable-content":true
},
"android":{
"alert":"极光测试",
"uri_activity":"com.sharetwo.goods.ui.activity",
"uri_action":"com.sharetwo.goods.ui.activity",
"title":"极光标题"
}
},
"message":{
"title":"极光标题",
"msg_content":"极光测试",
"extras":{
"after_open":"go_app",
"extField":"{\"url\":\"zhier://buyorder",\"isBargain\":0}"
}
},
"options":{
"sendno":538965873,
"time_to_live":86000,
"apns_production":true
}
}

1个回答

热门排序
  • 1、你的 iOS 生产证书过期了,请去检查官网上的证书状态,重新上传证书。如果已经换用了 token Authentication 鉴权,则可以不用处理 2、你官网配的 BundleID com.goshare2.zhier,但客户端配的是 展示全部