Comments (4)
Yes I did but now I am having a different problem.
My app does start the connection to Firebase but each time it says connection timed out and I cannot resolve it.
from flutterchatapptutorial.
@theindianappguy do you use stream in this app? If we want to launch this app is there anyway to do this without stream??
from flutterchatapptutorial.
Hello Akshay,
I recommend checking out this StackOverflow thread: https://stackoverflow.com/questions/63492211/no-firebase-app-default-has-been-created-call-firebase-initializeapp-in
There's more info on why this happened in the thread.
I used the fourth method because it was an easy implementation and it solved this issue instantly.
from flutterchatapptutorial.
The easiest way to solve this issue is to add those lines at your main.dart
-file in your main
-function
import 'package:flutter_chat_app/helper/authenticate.dart';
import 'package:firebase_core/firebase_core.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
runApp(MyApp());
}
from flutterchatapptutorial.
Related Issues (15)
- 'dart:ui/text.dart': Failed assertion: line 1372: '<optimized out>': is not true HOT 1
- Message writing area overlapping chats HOT 10
- Can you give this awesome work a migration âšī¸â¤ī¸ HOT 1
- The method 'substring' was called on null. E/flutter ( 2654): Receiver: null E/flutter ( 2654): Tried calling: substring(0, 1) HOT 2
- app bar
- null safty
- Firebase V9
- bug: web app crashes when sending a messages that contains a lot of bytes
- Facing issue when using firebase
- Having error in Firebase HOT 1
- Firebase collections creation HOT 1
- Sign In Auth Unable to get user from Firebase Auth HOT 1
- showing error in auth HOT 30
- ChatRoom streamBuilder
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 flutterchatapptutorial.