flutter ios Firebase 消息通知错误 I-COR000005,I-FCM001000 解决

*前提是已经 使用firebase-tools 已经给 Flutter 加入了 消息通知相关配置。教程>>

一、I-COR000005

10.22.0 - FirebaseCoreI-COR000005 No app has been configured yet.

复制代码
import Firebase

....

FirebaseApp.configure()

10.22.0 - FirebaseMessagingI-FCM001000 FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:

https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging

to ensure proper integration.

二、I-FCM001000

在 info.plist 随意找个位置, 添加下面配置

复制代码
<key>FirebaseAppDelegateProxyEnabled</key>
<false/>
相关推荐
spmcor13 小时前
Flutter 学习笔记 (3):布局初探 —— Row、Column、Stack 与 Container
flutter
风华圆舞14 小时前
DevEco Studio 和 Flutter 工具链如何协同工作
flutter·华为·架构·harmonyos
Digitally15 小时前
如何高效地将文件从电脑传输到 iPad:6 种简单方法
ios·电脑·ipad
朱莉^_^JuneLee15 小时前
Flutter 性能优化实战:用 ConsumerWidget + select 做到真正的局部刷新
flutter
G_dou_18 小时前
Flutter三方库适配OpenHarmony【palindrome_checker】回文检测器项目完整实战
flutter·harmonyos
朱莉^_^JuneLee19 小时前
Flutter 模块化架构实战:用 Barrel Export 管控模块边界
flutter·架构
萤萤七悬19 小时前
【Python笔记】AI帮封装Airtest IOS-WDA touch操作时的factor坐标转换
笔记·python·ios
风华圆舞19 小时前
鸿蒙导航意图 的 Flutter 侧封装思路
flutter·华为·harmonyos
风华圆舞20 小时前
Flutter 调用原生失败时,如何优雅处理 `MissingPluginException`
flutter·华为·harmonyos