Error: [core/not-initialized] Firebase has not been correctly initialized. Have you added the Firebase import scripts to your index.html file? #6642
Unanswered
khansawidhani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am a flutter beginner and trying to connect my flutter app with firebase. I have followed the official documentation of Flutter Fire but I am failed to connect my app to firebase. Why I am seeing the error to import firebase in index.html if I am working on android app Have a look at the error:
build/app/build.gradle file:
android/build.gradle file:
Also, I have added
google-services.json
file intoandroid/app
directoryWhat I've tried:
I have created a new firebase project and tried to connect the new project to the flutter app.
I have created a new flutter project and tried to connect a new flutter project to firebase as there may be cache issues. But all went in vain.
If anyone can let me know why I am getting error about index.html and why they are recommending me to see web installation.
Thanks in advance for your help if anyone can.
Beta Was this translation helpful? Give feedback.
All reactions