且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法使用服务器 API 发送推送通知

更新时间:2023-09-08 12:40:10

在 iOS 上,priority 字段似乎是强制性的.

On iOS the priority field seems mandatory.

{   
  "to": "cHPpZ_s14EA:APA91bG56znW...",
  "priority": "high",
  "notification" : {
    "body" : "hello!",
    "title": "afruz",
    "sound": "default"
  }
}