gpt4 book ai didi

ios - 我的 Flutter/Firebase 应用显示尚未配置任何应用

转载 作者:行者123 更新时间:2023-12-04 09:40:15 31 4
gpt4 key购买 nike

我正在 Flutter/Firebase 中制作应用程序,但在我的 Visual Studio 代码终端上遇到以下错误:-

Xcode build done.                                           522.2s
6.26.0 - [Firebase/Core][I-COR000005] No app has been configured yet.
6.26.0 - [Firebase/Messaging][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.
Waiting for iPhone 11 to report its views... 9ms
Syncing files to device iPhone 11... 610ms
关于如何解决这个问题的任何想法......????

最佳答案

我解决了这个问题。如果您在 AppDelegate.swift 中使用 swift,请确保已按该顺序添加以下内容:

FirebaseApp.configure() //add this before the code below
GeneratedPluginRegistrant.register(with: self)
如果您使用带有 Objective-c 的 flutter ,请将以下内容添加到您的 appdelgate.m 文件中:-
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[FIRApp configure]; //add this right after the above

关于ios - 我的 Flutter/Firebase 应用显示尚未配置任何应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64014893/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com