简体   繁体   English

Firebase 当我更改我的应用程序包 ID 时,带有 Apple 推送通知的云消息传递停止工作

[英]Firebase Cloud Messaging with Apple push notifications stopped working when I changed my app Bundle ID

I have an App that I had to change the Bundle-ID for.我有一个必须更改 Bundle-ID 的应用程序。 Once I did this Push Notifications stopped working.一旦我这样做,推送通知就会停止工作。 I replaced the app on Firebase with one with the new Bundle-ID and re-downloaded the GoogleService-info.plist.我用新的 Bundle-ID 替换了 Firebase 上的应用程序,并重新下载了 GoogleService-info.plist。 I have also created a new APNs authentication key and re-uploaded it.我还创建了一个新的 APNs 身份验证密钥并重新上传了它。 I have also added all the necessary code as specified on the Firebase documentation (and I have a similar app with the same code that works).我还添加了 Firebase 文档中指定的所有必要代码(并且我有一个类似的应用程序,其代码可以正常工作)。

However, when I run the app on my phone it does not receive any push notifications.但是,当我在手机上运行该应用程序时,它没有收到任何推送通知。 I have tested it by creating a test notification on my firebase console and sending the notification both to the device FCM token and a topic the device is subscribed to, with no success.我通过在我的 firebase 控制台上创建测试通知并将通知发送到设备 FCM 令牌和设备订阅的主题来测试它,但没有成功。

I am relatively new this so let me know if there's any other information needed.我对此比较陌生,所以如果需要任何其他信息,请告诉我。

I found a problem in last version and switched to firebase_messaging: 11.2.8 and Its working我在上一个版本中发现了一个问题并切换到 firebase_messaging: 11.2.8 and Its working

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Twilio Conversations 使用 Firebase Cloud Messaging 推送通知 - Twilio Conversations push notifications with Firebase Cloud Messaging 为什么我的 flutter 应用在 iOS 上运行时没有使用 Firebase 云消息接收通知? - Why my flutter app doesn't receive notifications using Firebase Cloud Messaging when running on iOS? 如何使用 firebase 云消息和云功能设置推送通知? - How can I go about setting up push notifications using firebase cloud messaging and cloud functions? 以 p8 格式更新 Firebase Cloud Messaging 上的 Apple Push Services - Renew Apple Push Services on Firebase Cloud Messaging with p8 format Flutter Firebase 消息(推送通知)不适用于 iOS 在现有应用程序中 - Flutter Firebase Messaging (Push Notifications) Not Working for iOS in an Already Existing Application Firebase 云消息在 Android 和 Flutter 应用程序上不工作 - Firebase Cloud Messaging not working on Android with Flutter app Flutter 推送通知应用程序后台:firebase_messaging - Flutter push notifications app background : firebase_messaging 未收到通过 iOS 应用程序中的 firebase 云功能发送的推送通知,尽管我从消息控制台获取 - Not receiving push notification sent via firebase cloud functions in iOS app though I get the from messaging console 在 Firebase 云消息传递中,React 本机应用程序未通过 TOPIC 接收通知 - React native app not receiving notifications via TOPIC in Firebase cloud messaging 在 Kotlin 客户端应用程序中发送 FCM 推送通知 - Firebase 云消息传递 - Sending FCM Push Notification in Kotlin Client App - Firebase Cloud Messaging
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM