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

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

一、I-COR000005

10.22.0 - [FirebaseCore][I-COR000005] No app has been configured yet.

复制代码
import Firebase

....

FirebaseApp.configure()

10.22.0 - [FirebaseMessaging][I-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/>
相关推荐
云诗卡达1 小时前
Flutter安卓APP接入极光推送和本地通知
android·flutter
南村群童欺我老无力.2 小时前
Flutter应用鸿蒙迁移实战:性能优化与渐进式迁移指南
javascript·flutter·ci/cd·华为·性能优化·typescript·harmonyos
LawrenceLan2 小时前
Flutter 零基础入门(十二):枚举(enum)与状态管理的第一步
开发语言·前端·flutter·dart
牛马1113 小时前
iOS :Codable协议,字典,数组的详细分析和比较
ios
程序员老刘·4 小时前
重拾Eval能力:D4rt为Flutter注入AI进化基因
人工智能·flutter·跨平台开发·客户端开发
kirk_wang4 小时前
Flutter艺术探索-Flutter响应式设计:MediaQuery与LayoutBuilder
flutter·移动开发·flutter教程·移动开发教程
SoaringHeart5 小时前
Flutter最佳实践:路由弹窗终极版NSlidePopupRoute
前端·flutter
TheNextByte19 小时前
如何将 iPhone 备份到外置硬盘?
ios·iphone
kirk_wang9 小时前
Flutter艺术探索-Flutter自定义组件:组合与封装技巧
flutter·移动开发·flutter教程·移动开发教程
佛系打工仔9 小时前
绘制K线第三章:拖拽功能实现
android·前端·ios