gpt4 book ai didi

ios - 在 iOS 模拟器中从 firebase 推送通知

转载 作者:行者123 更新时间:2023-12-04 00:16:19 35 4
gpt4 key购买 nike

我有一个使用 cordova-plugin-firebasex 推送通知的应用程序。但是当应用程序处于后台时,它们不会出现在通知中心。我在 XCode 中使用 iOS 模拟器。

我可以在应用程序处于后台时在模拟器中测试 Firebase 通知吗?还是我需要真正的设备?

最佳答案

模拟器不支持推送通知。您可以在您的控制台输出中看到 Firebase SDK 的此输出文本喜欢

6.27.0 - [Firebase/Messaging][I-FCM012002] Error in application:didFailToRegisterForRemoteNotificationsWithError: remote notifications are not supported in the simulator

关于ios - 在 iOS 模拟器中从 firebase 推送通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63585535/

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