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/>
相关推荐
飞凌嵌入式10 分钟前
告别多端重复开发:Buildroot+Flutter实现全平台UI风格统一
flutter·ui
凡泰AI1 小时前
如何通过小程序多端框架,让一个小程序同时运行在iOS、安卓、鸿蒙以及PC客户端,实现一次开发多端运行的效果
android·ios·小程序
FungLeo1 小时前
Flutter 带 TTL 的多级缓存设计:内存+磁盘+网络三层实战
网络·flutter·缓存·性能优化
FungLeo2 小时前
Flutter 可复用公共组件库设计与落地:AppDialog/BottomSheet 等实战
flutter
ZacJi13 小时前
当苹果将系统 API 划归 @MainActor:一次跨 SDK 版本的 Swift 并发踩坑与破局实战
ios·swift
mardelan14 小时前
2026年iOS短视频总结工具测评强识别提效率 整理清晰更省心
ios·音视频
ZZH_AI项目交付16 小时前
638 处旧名称残留——Swift/ObjC 混编项目安全重命名完整指南
ios·objective-c·swift
ZZH_AI项目交付16 小时前
Apple Silicon 模拟器遇到旧版 MLKit:一次完整的依赖排查
ios·app·编译器
kango16 小时前
iOS 项目工程化构成与 Xcode 架构详解
ios·程序员
Fungleo10699717 小时前
Flutter/Android Release 包连不上网?AndroidManifest INTERNET 权限排查实录
flutter