appcenter 推送通知名称未显示在通知中

appcenter push notification name not shown in notification

我正在使用应用中心推送通知,我正在发送 http post 请求以使用应用中心推送的 api 发送推送。 当我用这个负载发送推送通知时

    {
 "notification_content" : {
  "name" : "First Push From App Center",
  "title" : "Push From App Center",
  "body" : "Welcome!",
  "custom_data" : {"key1" : "val1", "key2" : "val2"}
  },
    "notification_target" : {
    "type" : "audiences_target",
    "audiences" : ["a-1", "a-2"]
  }
}

url

https://api.appcenter.ms/v0.1/apps/XXXX/${platform}/push/notifications

我在我的 phone 中收到了通知,但只有标题和 body,我没有看到名字 "First Push From App Center"

通知的名称不会推送到设备,它只是一个名称,供您在列出通知时记住您创建的通知。例如,当您列出您创建的所有推送通知时,名称将出现在门户中。