Add Firebase to your Flutter app: The fast way
Why Stack Overflow recommends it
Stack Overflow users link it as the official quick walkthrough of setting up Firebase in Flutter with the FlutterFire CLI, and as the tutorial they followed when debugging setup problems.
Recommended by 1 people across 1 different months, 2023 to 2023.
What it is
A short official Firebase tutorial by Developer Relations Engineer Alexander Nohe. It shows how to install and use the FlutterFire CLI to add Firebase to a Flutter app across all supported platforms.
What people said
Recommends Frank van Puffelen · 2023-08 · Stack Overflow · on “What is the difference between selecting `Android`, `iOS` or `Flutter` when adding Firebase to Flutter app”
The two platforms on the right (Unity and Flutter) both are meta-platforms, they wrap the 3 native platforms on the left. When you click the Flutter icon, it gives you instructions on how to use the CLI to add the necessary app(s). If you after that go back to the Firebase console, you will see those native apps. Also see the documentation on getting started with Flutter on Firebase [LINK] , including the video embedded in there called Add Firebase to your Flutter app: The fast way [this video] .
Cites VerySeriouslyCurious · 2023-09 · Stack Overflow · on “Why am I getting a plugin'com.google.gms.google-services' not found error when integrating firebase into flutter”
I have tried to search on stackoverflow and tried the solutions suggested in other stackoverflow questions of similar nature such as this [LINK] and that [LINK] but I am still getting the following error Plugin [id: 'com.google.gms.google-services', version: '4.3.15', apply: false] was not found when i try to integrate firebase into my flutter app. My build.gradle(android) is as follows: buildscript { ext.kotlin_version = '1.9.0' repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.google.gms:google-services:4.3.15' } } plugins { // Add the dependency for t
Cites NeoFahrenheit · 2023-12 · Stack Overflow · on “Getting firebase_auth/invalid-credential on Flutter - Android”
I followed this tutorial: [this video] I used the flutterfire configure to automatically generate a firebase_options.dart to my project. I enable signed in with email and password in my Firebase project settings. I manually created a user in the Firebase console and logged in successfully one time. When I modified the UI a bit, I tried again and I started getting this error: E/flutter (17561): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: [firebase_auth/invalid-credential] The supplied auth credential is incorrect, malformed or has expired. I tried logging out with Firebase.instance.signOut() . I tried reconfiguring the project. After several tries, I received the follow