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/>
相关推荐
SoaringHeart3 小时前
Flutter组件封装:页面点击事件拦截
前端·flutter
tangweiguo030519877 小时前
Flutter与原生混合开发:实现完美的暗夜模式同步方案
android·flutter
他们都不看好你,偏偏你最不争气9 小时前
【iOS】UIViewController
开发语言·macos·ios·objective-c·cocoa
程序员老刘9 小时前
CTO紧急叫停AI编程!不是技术倒退,而是...
flutter·ai编程
leazer11 小时前
Flutter TabBar 字体缩放动画抖动问题及优化方案
flutter
前端小超超13 小时前
如何配置capacitor 打包的ios app固定竖屏展示?
前端·ios·web app
CocoaKier13 小时前
AI让35岁程序员再次伟大
ios·微信小程序·aigc
库奇噜啦呼14 小时前
【iOS】单例模式
ios·单例模式
2501_9159090614 小时前
苹果上架App软件全流程指南:iOS 应用发布步骤、App Store 上架流程、uni-app 打包上传与审核技巧详解
android·ios·小程序·https·uni-app·iphone·webview
2501_9159214314 小时前
iOS 文件管理与能耗调试结合实战 如何查看缓存文件、优化电池消耗、分析App使用记录(uni-app开发与性能优化必备指南)
android·ios·缓存·小程序·uni-app·iphone·webview