0
0
Fluttermobile~5 mins

Firebase setup for Flutter - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the first step to connect a Flutter app with Firebase?
Create a Firebase project in the Firebase Console and register your Flutter app by adding its package name.
Click to reveal answer
beginner
Which file must be downloaded and added to your Flutter project for Android Firebase setup?
The google-services.json file must be downloaded from Firebase Console and placed in the android/app folder.
Click to reveal answer
beginner
What is the purpose of the firebase_core package in Flutter?
It initializes Firebase in your Flutter app, allowing you to use Firebase services.
Click to reveal answer
intermediate
How do you initialize Firebase in your Flutter app's main function?
Use WidgetsFlutterBinding.ensureInitialized(); then call await Firebase.initializeApp(); before running the app.
Click to reveal answer
intermediate
What additional step is required for iOS Firebase setup after downloading GoogleService-Info.plist?
Add the GoogleService-Info.plist file to the Runner project in Xcode and configure the ios/Podfile to use platform iOS 10 or higher.
Click to reveal answer
Which Firebase package is essential to initialize Firebase in a Flutter app?
Acloud_firestore
Bfirebase_core
Cfirebase_auth
Dfirebase_storage
Where should the google-services.json file be placed in a Flutter project?
Aandroid/app
Bios/Runner
Clib
Dandroid
What command ensures Flutter widgets are initialized before Firebase initialization?
AWidgetsFlutterBinding.ensureInitialized()
BrunApp()
CFirebase.initializeApp()
Dmain()
For iOS, which file must be added to the Xcode project for Firebase?
Agoogle-services.json
BPodfile
CInfo.plist
DGoogleService-Info.plist
What minimum iOS platform version is recommended for Firebase in Flutter?
AiOS 9
BiOS 8
CiOS 10
DiOS 12
Describe the steps to set up Firebase for a new Flutter Android app.
Think about what files and code changes are needed for Android.
You got /6 concepts.
    Explain how to initialize Firebase in a Flutter app and why it is necessary.
    Focus on the main function and app startup.
    You got /4 concepts.