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/>

相关推荐

  1. test000000

    2024-04-25 06:10:04       38 阅读
  2. Photoshop_00000

    2024-04-25 06:10:04       43 阅读
  3. 解释一下文件I/O的错误处理

    2024-04-25 06:10:04       46 阅读
  4. STM32出现I2C通信问题如何解决

    2024-04-25 06:10:04       33 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-25 06:10:04       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-25 06:10:04       100 阅读
  3. 在Django里面运行非项目文件

    2024-04-25 06:10:04       82 阅读
  4. Python语言-面向对象

    2024-04-25 06:10:04       91 阅读

热门阅读

  1. 架构师系列-Nginx、OpenResty(三)- 负载均衡配置

    2024-04-25 06:10:04       30 阅读
  2. MySQL的数据类型

    2024-04-25 06:10:04       34 阅读
  3. jenkins流水线学习(工具)

    2024-04-25 06:10:04       31 阅读
  4. 【大数据面试题】024 Spark 3 升级了些什么?

    2024-04-25 06:10:04       33 阅读
  5. 5367: 【图论】奇点数

    2024-04-25 06:10:04       44 阅读
  6. Mongo 实现简单全文检索

    2024-04-25 06:10:04       42 阅读
  7. vim之将文件的内容追加到当前文件的尾部

    2024-04-25 06:10:04       41 阅读