我正在使用 GCM 消息传递向没有服务器的设备组发送消息。无论如何发送高优先级消息?我正在使用这段代码:
GoogleCloudMessaging gcm = GoogleCloudMessaging.getInstance(this);
gcm.send(to, id, data);
最佳答案
使用您提供的代码,您似乎正在向设备组发送上游消息,这意味着您无法设置优先级。
documentation声明它目前适用于 downstream messaging .
关于android - 发送给设备组的 GCM 优先级消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34673406/