gpt4 book ai didi

android - 在 Google Cloud Messaging 的用户通知中创建 notification_key 时出现 404 错误

转载 作者:行者123 更新时间:2023-11-29 01:52:07 28 4
gpt4 key购买 nike

我想为多用户 android 设备创建 notification_key。我完全按照下面的指南进行操作,但是 GCM 以 404 –page not found 错误响应我。用户通知端点应为 https://android.googleapis.com/gcm/notification .这个功能现在可用吗?在文章的顶部,有一个奇怪的注释“要试用此功能,请使用此表格注册”。好像这个功能还没有发布???

http://developer.android.com/google/gcm/notifications.html

谢谢瓦塞克

最佳答案

这是一项试用功能。您必须注册才能测试此功能:

Sign up to be a trial partner for the latest Google Cloud Messaging features which include bidirectional message streaming, and user notification APIs.

在注册页面中,您必须指定用于注册 GCM 的 GCM 项目 ID。我假设一旦您注册并获得批准,您将能够使用此项目 ID 及其 API key 来访问新功能。

关于android - 在 Google Cloud Messaging 的用户通知中创建 notification_key 时出现 404 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17313826/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com