iOS APNS 证书即将过期(服务器端的 Firebase)

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

我有一个 APNS 证书,该证书设置为在 2017 年 1 月到期的实时应用程序。我已经更新了证书并创建了我的 .cer.p12 文件。

我正在使用 Firebase 云消息传递来处理我的推送通知。如果我现在将新的 .p12 文件添加到 firebase 控制台,是否会覆盖当前文件并中断实时应用程序上的推送通知?

如果是这样,我如何管理到新证书的无缝过渡?我是否只是等到新应用在应用商店中上线,然后上传 .p12

谢谢,

最佳答案

如果为同一 AppID 创建的新推送证书包含现有应用程序的捆绑 ID,并且推送证书仅在 firebase 中使用,没有其他地方使用,那么您的应用程序的旧版本应该继续使用新证书接收推送通知,无论您使用哪种证书

Whenever you update your APNS certificate all version of the app that had push notification will receive the notifications again. There is no need to update the app for this.

关于iOS APNS 证书即将过期(服务器端的 Firebase),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41033719/

相关文章:

ios - 优化苹果系统日志

ios - 显示结果后关闭 UISearchBar

swift - 如何在 Swift 中获取 Firebase 的自动生成 key ?

多次调用 Firebase 云函数

node.js - 阵列更新后 Firestore 不显示更新的文档

iOS 7+,将远程/推送通知本地存储在数据库中

ios - 当应用程序在后台使用 Sinch iOS SDK 时无法处理来电推送通知

ssl - 几个小时后,通过 GCE 上的套接字的 APNS 停止工作

ios - CloudKit数据传输限制

javascript - iOS Safari 键盘出现不会触发 window.resize 事件