当前位置:   article > 正文

flutter ios Firebase 消息通知错误 I-COR000005,I-FCM001000 解决_[firebasecore][i-cor000005] no app has been config

[firebasecore][i-cor000005] no app has been configured yet

*前提是已经 使用firebase-tools 已经给 Flutter 加入了 消息通知相关配置。教程>>

一、I-COR000005

10.22.0 - [FirebaseCore][I-COR000005] No app has been configured yet.

  1. import Firebase
  2. ....
  3. 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 随意找个位置, 添加下面配置

  1. <key>FirebaseAppDelegateProxyEnabled</key>
  2. <false/>

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号