小米和OPPO渠道通知不显示大图标large_icon
通过 Push API 发送通知,根据官方文档,小米已设置大文本样式"style"=1,小米和OPPO的large_icon="通过Image API 上传图片获得的media_id ", 小米和OPPO手机接收到的通知未显示大图标, 但是华为设置large_icon="media_id" 显示了大图标。json如下:
{
"platform": ["android"],
"audience": {
"registration_id": ["xxx"]
},
"notification": {
"alert": "xxx",
"android": {
"alert": "xxx",
"extras": {
},
"uri_activity": "xxx",
"uri_action": "xxx",
"title": "xxx",
"style": 1,
"large_icon": "jgmedia-2-44cdc96e-fb5f-4a2a-801f-25c4f7452dc5"
}
},
"options": {
"sendno": 409127467,
"apns_production": false,
"third_party_channel": {
"huawei": {
"distribution": "secondary_push",
"large_icon": "jgmedia-2-b730a8ca-d06c-463d-a4f9-444c1a7bf02b",
"importance": "HIGH"
},
"xiaomi": {
"large_icon": "jgmedia-2-b730a8ca-d06c-463d-a4f9-444c1a7bf02b",
"distribution": "secondary_push",
"style": 1
},
"oppo": {
"large_icon": "jgmedia-2-b730a8ca-d06c-463d-a4f9-444c1a7bf02b",
"distribution": "secondary_push"
},
"vivo": {
"distribution": "secondary_push",
"classification": 1
}
}
}
}