This Gist hopes to document my efforts to try and get past the Firebase Setup Step of the Fireship.io Flutter course and to understand Flutter and Fireship
From Step 3 of CodeLab Firebase get to know Flutter
See also Firebase docs here
firebasecommand line tool- Have created a Firebase project
- Be logged in from the command line
flutter pub add firebase_core
flutter pub add firebase_auth
flutter pub add cloud_firestore
flutter pub add providerdart pub global activate flutterfire_cliflutterfire configureThis should add all the files and configs needed for the course:
android/app/google-services.json
android/app/src/main/java/
ios/firebase_app_id_file.json
lib/firebase_options.dartAdd the following to the file ./android/app/build.gradle
android {
defaultConfig {
minSdkVersion 19
} }
}- From the FireStore Project settings, download the IOS
GoogleService-Info.plistfile. - Open your Flutter Project
./iosdirectory in Xcode - Copy
GoogleService-Info.plistto the./Runnerdirectory - A dialog will appear, make sure
Copy items if neededis selected and pressFinish
In ./ios/Podfile add or uncomment the following line and set the platform to 11.0 or whatever is appropriate.
platform :ios, '11.0'
After making any app configuration changes it helps to run flutterfire configure just to be sure 😉
flutter run