首页 文章

Firebase for iOS - 控制台陷入困境未配置为 Cloud 消息传递

提问于
浏览
2

我已经在Firebase中为APNS配置了大量的应用程序,它总是无痛 . 今天我要配置另一个我已经实现了整个SDK for Messaging,添加了GoogleService-Info.plist,启用了推送通知的软件包ID,在一个设备中顺利运行了Firebase应用程序 .

但Notifications的Firebase控制台配置屏幕不允许我上传我的证书或我的APN Auth Key(我已经拥有) .

缺少上传按钮,“字段”没有做任何事情,我已经尝试过切换浏览器甚至切换计算机(基于Windows) .

我被困在这个屏幕上了 .
enter image description here

EDIT: I inspected the console webpage and saw that my browser is getting 404 from Firebase server connection getApnsAuthKey:

{
    "error": {
        "code": 404,
        "message": "APNS cert not found for requested project and bundle ID",
        "status": "NOT_FOUND",
        "details": [
            {
                "@type": "type.googleapis.com/google.internal.firebase.v1.ErrorCode"
            }
        ]
    }
}

3 回答

  • 2

    Firebase可能会在此时(2017年11月)使用新的UI - >新元素进行更新 .

    • 检查 Upload 按钮

    • 删除了 button 标签中的 disabled="disabled"
      enter image description here

    • Upload 按钮已启用!
      enter image description here

  • 5

    我在使用Firebase控制台时遇到了同样的问题 . 它看起来像服务器端的临时问题 . 所以这是我的解决方案(它适用于我):

    之后,您可以正常上传证书或APNS密钥 .

  • 1

    在我的情况下,上传按钮被禁用的原因未在UI中显示,但在检查元素时可见 .

    您必须是所有者才能上传APNs身份验证密钥

    我的权限是 Editor 的权限,似乎你需要 Owner 才能上传 .

相关问题