Comments (7)
Closing this out, since this error seems to be handled and should not affect anything.
from flutterfire.
Hello @kris-cc3 Did you try the flutterfire auth example app found here: https://github.com/firebase/flutterfire/tree/master/packages/firebase_auth/firebase_auth/example
from flutterfire.
Any progress on this? I'm facing the exact same issue
from flutterfire.
Yes I tried setting up main as in this example and saw the same issue. I’d need to go back and reconfirm though and have a closer look at what’s in auth.dart. I won’t be at the computer for maybe a week though.
from flutterfire.
Hi @TarekkMA I'm also able to reproduce this issue in firebaseauth as well
Platform : Web
Relevant Logs
Exception has occurred.
FirebaseError: Firebase: No Firebase App '[DEFAULT]' has been created - call initializeApp() first (app/no-app).
https://www.gstatic.com/firebasejs/10.11.1/firebase-app.js 2220:29 getApp
packages/firebase_core_web/src/interop/core.dart 60:28 app$
packages/firebase_core_web/src/firebase_core_web.dart 255:24 initializeApp
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50
dart-sdk/lib/async/zone.dart 1661:54 runUnary
dart-sdk/lib/async/future_impl.dart 163:18 handleValue
dart-sdk/lib/async/future_impl.dart 847:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 876:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 652:5 [_completeWithValue]
dart-sdk/lib/async/future.dart 532:22
dart-sdk/lib/async/zone.dart 1661:54 runUnary
dart-sdk/lib/async/future_impl.dart 163:18 handleValue
dart-sdk/lib/async/future_impl.dart 847:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 876:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 652:5 [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 722:7 callback
dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7
SDK
➜ example git:(master) ✗ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.90.2)
[✓] Connected device (4 available)
[✓] Network resources
![image](https://private-user-images.githubusercontent.com/140276262/343028947-a65520ba-d3d4-4732-9418-94ab0fa0605b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNDgyMTAsIm5iZiI6MTcyMjE0NzkxMCwicGF0aCI6Ii8xNDAyNzYyNjIvMzQzMDI4OTQ3LWE2NTUyMGJhLWQzZDQtNDczMi05NDE4LTk0YWIwZmEwNjA1Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyOFQwNjI1MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ZTI1MThmOTZjMmY0ZWNhZTU0MDJlZjU0ZTkwNWRiOGU3OTkxOTI3YjkwZjQ3Y2E4ZTA5YjhlYTViMzYwZDcxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.JENiDPIL3FASlCD8GosEITMl33z7v_3CuMy9-BmMVZY)
from flutterfire.
I couldn't get this issue to happen to the flutter auth example. How are you running the application? I'm using flutter run -d chrome
Here's my flutter version:
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale en-EG)
• Flutter version 3.22.2 on channel stable at /Users/tarekkma/Developer/Libs/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 761747bfc5 (3 weeks ago), 2024-06-05 22:15:13 +0200
• Engine revision edd8546116
• Dart version 3.4.3
• DevTools version 2.34.3
from flutterfire.
I got this error while running on VSCode set to catch all exceptions, but the app seems to run normally without any issues.
from flutterfire.
Related Issues (20)
- [firebase_analytics]: `TypeError: Cannot convert undefined or null to object` when hot reload web application HOT 2
- [📚] README files in `example` directories have outdated docs and links
- [firebase_analytics_web]: Error (Xcode): ../../../.pub-cache/hosted/pub.dev/firebase_core_web-2.17.3/lib/src/interop/utils/es6_interop.dart:18:12: Error: Type 'JSString' not found. HOT 1
- 🐛Adding Firestore plugin to project Ios not Build HOT 1
- [firebase_auth]: signInWithProvider does not return to the app on Android Emulator HOT 2
- [firebase_analytics]: Update Google Analytics for Firebase (GA4F) iOS SDK to Version 10.24.0 or Later HOT 3
- cloud_firestore: Can write to database on emulators but not on the real devices HOT 1
- [firebase_messaging]: The backgroundHandler needs to be either a static function or a top, but it's on the top level. HOT 2
- [firebase_auth]: Google login fails with local emulator HOT 3
- [FIREBASE_STORAGE]: No such module 'GTMSessionFetcherCore' HOT 2
- firebase_analytics: ARC Semantic Issue (Xcode) HOT 2
- [AUTH]: Flutter web "signInWithPhoneNumber" error : invalid-app-credential HOT 7
- cloud_firestore: There is a bug when we have an empty document in the Windows version HOT 1
- reCAPTCHA Issue on Flutter Web with flutter_auth Package HOT 1
- [firebase_auth]: Particular carrier does not receive OTP – again HOT 2
- [firebase_vertexai]: role with null value added to the history on content blocked due to Safety reasons HOT 6
- [firebase_crashlytics]: firebase_crashlytics_collection_enabled setting in AndroidManifest.xml is being ignored HOT 2
- [firebase_core]: Error when initializing app on Flutter Web HOT 3
- [firebase_messaging]: getInitialMessage() intermittently returns null HOT 2
- [firebase_auth]: Google login to localhost works but hosting release not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutterfire.