Skip to content

Latest commit

 

History

History
123 lines (62 loc) · 3.74 KB

File metadata and controls

123 lines (62 loc) · 3.74 KB

Flutter Firebase: Questions

Firebase Setup and Configuration

  1. How do you set up Firebase in a Flutter project using FlutterFire CLI?

  2. What is the purpose of firebase_options.dart and how is it generated?

  3. How do you configure Firebase for multiple environments (development, staging, production) in Flutter?

  4. What are the required changes in Android and iOS native files when adding Firebase to a Flutter app?

  5. How do you initialize Firebase in a Flutter application?

Firebase Authentication

  1. How do you implement email and password authentication in Flutter using Firebase?

  2. How do you implement Google Sign-In with Firebase Authentication in Flutter?

  3. What is the process for implementing phone number authentication with Firebase in Flutter?

  4. How do you implement anonymous authentication in Flutter?

  5. How do you handle password reset functionality in Firebase Authentication?

  6. How do you verify a user's email address after registration?

  7. What is the difference between authStateChanges(), idTokenChanges(), and userChanges() in Firebase Auth?

  8. How do you implement Apple Sign-In with Firebase in Flutter?

  9. How do you sign out a user from Firebase Authentication?

  10. How do you implement multi-factor authentication (MFA) in Flutter with Firebase?

Cloud Firestore

  1. How do you perform basic CRUD operations in Cloud Firestore?

  2. How do you query documents in Firestore with where clauses and ordering?

  3. What is the difference between get() and snapshots() methods in Firestore?

  4. How do you implement real-time listeners in Firestore?

  5. How do you perform batch writes in Firestore?

  6. What are Firestore transactions and when should you use them?

  7. How do you implement pagination in Firestore queries?

  8. How do you work with subcollections in Firestore?

  9. How do you update array fields in Firestore documents?

  10. How do you handle Firestore timestamps correctly?

  11. What are composite indexes in Firestore and when do you need them?

  12. How do you handle errors in Firestore operations?

Firebase Realtime Database

  1. What is the difference between Cloud Firestore and Firebase Realtime Database?

  2. How do you perform CRUD operations in Firebase Realtime Database?

  3. How do you implement real-time listeners in Firebase Realtime Database?

  4. How does offline persistence work in Firebase Realtime Database?

Firebase Storage

  1. How do you upload files to Firebase Storage from Flutter?

  2. How do you download files from Firebase Storage?

  3. How do you track upload progress in Firebase Storage?

  4. How do you implement image compression before uploading to Firebase Storage?

Cloud Functions

  1. How do you call Cloud Functions from Flutter?

  2. What are the different types of Cloud Functions triggers?

  3. How do you handle errors when calling Cloud Functions from Flutter?

Firebase Cloud Messaging

  1. How do you set up Firebase Cloud Messaging (FCM) in a Flutter app?

  2. How do you handle foreground notifications in Flutter?

  3. How do you handle background and terminated state notifications?

  4. How do you subscribe to and unsubscribe from FCM topics?

Firebase Analytics

  1. How do you log custom events in Firebase Analytics?

  2. How do you set user properties in Firebase Analytics?

Firebase Crashlytics

  1. How do you set up Firebase Crashlytics in Flutter?

  2. How do you log custom errors and non-fatal exceptions to Crashlytics?

Firebase Remote Config

  1. How do you implement Firebase Remote Config in Flutter?

  2. How do you use Remote Config for feature flags?

Security and Best Practices

  1. How do you write security rules for Cloud Firestore?

  2. What are the best practices for structuring Firestore data and optimizing costs?