【问题标题】:how to get detailed errors from firebase cloud messeging?如何从 Firebase 云消息传递中获取详细错误?
【发布时间】:2020-05-28 11:36:03
【问题描述】:

我正在尝试使用 APN over firebase 发送消息并收到以下消息:

{"code":"messaging/third-party-auth-error","message":"Auth error from APNS or Web Push Service"}

如何获取此处列出的 APNS 错误:https://firebase.google.com/docs/reference/fcm/rest/v1/ApnsError?我正在使用firebase-admin npm 包。

【问题讨论】:

    标签: ios firebase firebase-cloud-messaging apple-push-notifications firebase-admin


    【解决方案1】:

    尝试在 XCode 和 Firebase 中检查您的包标识符 - 这可能是最简单的问题。

    关注这个answer 来查找问题

    随便问什么:3

    【讨论】:

      【解决方案2】:

      对我来说,这意味着我必须在 Firebase 控制台中更新 APNS 证书:

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2021-07-20
        • 1970-01-01
        • 1970-01-01
        • 2016-08-14
        • 1970-01-01
        • 2022-08-19
        相关资源
        最近更新 更多