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/>
相关推荐
freflying11196 小时前
使用jenkins构建Android+Flutter项目依赖自动升级带来兼容性问题及Jenkins构建速度慢问题解决
android·flutter·jenkins
机器瓦力8 小时前
Flutter应用开发:对象存储管理图片
flutter
没头脑的ht11 小时前
ios App的启动过程和启动优化
ios
敲代码的鱼哇12 小时前
设备唯一ID获取,支持安卓/iOS/鸿蒙Next(uni-device-id)UTS插件
android·ios·uniapp·harmonyos
江上清风山间明月16 小时前
Flutter最简单的路由管理方式Navigator
android·flutter·ios·路由·页面管理·navigator
weixin_4111918416 小时前
FlutterAssetsGenerator插件的使用
flutter
fangcaojushi16 小时前
解决videojs在ios端视频无法播放的问题
ios·音视频
调皮的芋头1 天前
iOS各个证书生成细节
人工智能·ios·app·aigc
神秘_博士1 天前
自制AirTag,支持安卓/鸿蒙/PC/Home Assistant,无需拥有iPhone
arm开发·python·物联网·flutter·docker·gitee
coooliang1 天前
【iOS】SwiftUI状态管理
ios·swiftui·swift