【发布时间】:2013-07-01 10:04:11
【问题描述】:
使用 GCM 时出现错误:
The Project 3425345631 not whitelisted.
我正在尝试使用 GCM - 我创建了一个 Andorid 密钥和一个服务器密钥。我也在关注教程Getting Started with GCM。当我尝试为 CCS 服务器运行 python 代码时,问题就出现了。我收到错误The Project 3425345631 not whitelisted。我已将项目编号作为 USERNAME 放在 python 代码中,对于密码,我使用了为 google API 中的服务器应用程序生成的 API 密钥,并且 REGISTRATION_ID 具有我想要发送消息的注册设备(Android 手机)的值.
谁能描述一下为 Google Cloud Messaging 设置 CCS 服务器的整个过程?
【问题讨论】:
-
非常好的教程在这里tech-papers.org/…
标签: android python push-notification google-cloud-messaging