【发布时间】:2021-02-15 22:58:59
【问题描述】:
我正在从 nodejs 服务器发送带有 firebase 的推送通知。
消息负载是这样的。
const notificationObjNew: any = {
notification: {
body: "demo body",
title: "demo title",
badge : "100",
},
topic: notificationTopic
};
在 IOS 应用程序中,我收到了这个 -
{body:demo body,e:1,title:demo title}
这里没有徽章属性。
【问题讨论】:
标签: ios node.js firebase push-notification firebase-cloud-messaging