GCM 不会将消息发送到 notification_key & returns 并且响应主体为空

GCM does not send message to notification_key & returns with an empty response body

我们正在使用 notification_key 对多个设备进行分组。从昨天开始,我们无法向 notification_key 发送消息。 GCM 端点 returns 状态为 200 但响应正文为空。 Google Play 中的 GCM 诊断显示没有消息发送到设备,我们还检查了消息没有到达设备。

但是,向单个 registration_id(其中一个由 notification_key 管理)发送消息会按预期工作。

我们这边没有触及 GCM 相关代码,它在前几天按预期工作。我想知道此错误是否已知以及其他应用程序是否也受到影响。如果最近几天有任何变化,也很高兴收到 Google 的来信。

此问题已由 Google 解决。这是我从为此问题创建的 Google 组线程中得到的答案:

Hi Andreas,

We had a recent issue in the send API, affecting a subset of the notification_key requests. That issue should be fixed now.

Please try again. If the API is still not working for you please report back using: https://support.google.com/code/contact/gcm_dev_support

Thanks, - Diego