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/>
相关推荐
布莱克60511 小时前
Swift 枚举详解:从基础语法到关联值与模式匹配
开发语言·ios·swift·枚举
茶底世界之下11 小时前
冬日窗边的早餐:用 Awaking 留住冷光里的暖意
ios·app·产品
布莱克60512 小时前
Swift 闭包详解:从语法到实战的完整指南
服务器·开发语言·ios·ssh·swift·闭包
恋猫de小郭14 小时前
Jetpack Compose 1.13 发布,憋了这么久终有交代了
android·前端·flutter
好的佩奇1 天前
蓝牙之设备角色与连接
android·flutter·蓝牙
茶底世界之下2 天前
雨后的黄电车:用 Awaking 给灰色街景定一个主角
ios·app·产品
恋猫de小郭2 天前
iOS for Web ,把原生 iOS App 跑到进浏览器里面,倒反天罡
android·前端·ios
SoaringHeart2 天前
Flutter最佳实践:用 flutter_html 渲染富文本
前端·flutter
00后程序员2 天前
iOS 实时活动怎么开发,Windows 上用 KXBuild 和 ActivityKit 写灵动岛
后端·ios
iReaShare2 天前
如何在没有 Wi-Fi 的情况下备份 iPhone
ios