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/>
相关推荐
名字不要太长 像我这样就好4 小时前
【iOS】OC源码阅读——alloc源码分析
笔记·学习·macos·ios·objective-c
肥肥呀呀呀7 小时前
flutter getx 中.obs 的方法refresh方法
flutter
只可远观7 小时前
Flutter 泛型 泛型方法 泛型类 泛型接口
服务器·windows·flutter
肥肥呀呀呀8 小时前
ipa包安装到apple手机上
flutter
zhishishe8 小时前
如何在 iPhone 上恢复已删除的联系人:简短指南
ios·智能手机·iphone
艾小逗9 小时前
uniapp中检查版本,提示升级app,安卓下载apk,ios跳转应用商店
android·ios·uni-app·app升级
zhishishe9 小时前
如何修复卡在恢复模式下的 iPhone:简短指南
windows·macos·ios·objective-c·cocoa·iphone
桃花仙丶9 小时前
iOS/Flutter混合开发之PlatformView配置与使用
flutter·ios·xcode·swift·dart
一名普通的程序员13 小时前
Flutter GetX 核心技巧:GetWidget 的深度解析
flutter
一名普通的程序员13 小时前
Flutter GetX 核心技巧:GetView / GetWidget 的魔法解密
flutter