Firebase Cloud Messing可能的错误?

时间:2016-07-20 01:58:25

标签: ios firebase push-notification firebase-cloud-messaging

我正在尝试通过FCM发送推送通知,但发送到手机的响应很奇怪,并且不包含aps。

我发送:

{ "notification" : {
  "title" : "this is title",
  "body" : "this is body",
  "sound" : "defadult"
},
"data": {
"score": "5x1",
"time": "15:10"
},
"time_to_live" : 3000,
"priority" : "high",
"content_available": true,
"to" : "<fcm access token>"
}

我在手机上收到以下信息:

%@ [notification: {
body = "this is body";
e = 1;
sound = default;
sound2 = defadult;
title = "this is title";
}, collapse_key: <bundle-url>, score: 5x1, time: 15:10, from: 844316448558]

这已经工作了一段时间但突然爆发了。有没有其他人经历过这个?

0 个答案:

没有答案