Closed DineshTaral123 closed 3 years ago
Hi @DineshTaral123
Did you add the GoogleService-Info.plist
file in Xcode?
Could you please provide your flutter doctor -v
, flutter pub deps -- --style=compact
, and flutter run -v
logs?
Thank you
Your flutter run -v
logs just end with
[ +172 ms] No supported devices connected.
Could you provide the logs with the error? Have you added the GoogleService-Info.plist
file in Xcode?
Launching lib/main.dart on Bipul’s iPhone in debug mode... Automatically signing iOS for device deployment using specified development team in Xcode project: W5RS7S6NQB Running Xcode build... Xcode build done. 2417.9s Installing and launching... Waiting for Bipul’s iPhone to report its views... Debug service listening on ws://localhost:51283/ws Syncing files to device Bipul’s iPhone... flutter: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() flutter: (2021-01-12 11:17:20.418641) ℹ️ 📡 logger setup flutter: (2021-01-12 11:17:20.424328) ℹ️ 📡 http client setup flutter: (2021-01-12 11:17:20.428260) ℹ️ 📡 instantiating new client flutter: runZonedGuarded: Caught error in my root zone.
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════ The following FirebaseException was thrown building Builder: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()
The relevant error-causing widget was: Theme file:///Users/bipul/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/stream_chat_flutter-0.2.20+2/lib/src/stream_chat.dart:75:18 When the exception was thrown, this was the stack:
... ════════════════════════════════════════════════════════════════════════════════════════════════════
Yes, I have added GoogleService-Info.plist file in Xcode.
Could you provide a minimal complete reproducible code sample that demonstrates the issue?
This shouldn't happen after you call initializeApp
The app is working fine in Android but when i try to run same app in iOS (Real Device 14.3) it showing me an error " [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() " . My all configurations with iOS is done as showing in Readme.md file, and also tried with different projects but getting same error. my main.dart file is