【问题标题】:Project is not white listed when using google cloud message - GCM Service for android使用谷歌云消息时项目未列入白名单 - GCM Service for android
【发布时间】: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 服务器的整个过程?

【问题讨论】:

标签: android python push-notification google-cloud-messaging


【解决方案1】:

有一个special sign-up form 用于 CCS 和用户通知,您可以在其中提供您的 Google API 项目。如果 Google 不接受您在该表单上的注册,您将无法使用这些新 API。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-09-21
    • 2013-05-13
    • 2012-06-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多