【发布时间】:2019-07-20 05:59:07
【问题描述】:
我知道如何通过 POSTMAN 发送带有 FCM-TOKEN 和 TOPIC 名称的推送通知,但是如果我的 firebase 项目包含超过 2 个,我不确定如何发送带有包名称的 FCM 通知或仅发送到特定包已连接的应用程序。
{
"to": "/topics/global", // global is your topic
"notification" : {
"body" : "great match!",
"content_available" : true,
"priority" : "high",
"title" : "Portugal vs. Denmark"
},
"data" : {
"body" : "great match!",
"content_available" : true,
"priority" : "high",
"title" : "Portugal vs. Denmark"
}
}
【问题讨论】:
标签: java android firebase push-notification postman