【发布时间】:2019-05-03 04:12:58
【问题描述】:
我想使用 FCM 在 iOS 设备中实现推送通知。我已经关注了 firebase 的完整文档,但是当我的应用程序在后台运行时,声音不起作用。这是我的有效载荷,我正在使用这个https://www.apnstester.com/fcm/
{
"notification": {
"title":"Title",
"body":"My Message",
"sound":"default"
},
"priority":"high"
}
【问题讨论】:
-
stackoverflow.com/questions/39335363/…这些答案你看到了吗?
-
是的,如果我尝试使用 HTTP 请求声音效果很好。但是当我尝试这个网站apnstester.com/fcm 时,声音并没有播放。
标签: swift firebase-cloud-messaging