Recall & Review
beginner
What is offline persistence in Firebase?
Offline persistence allows your app to save data locally on the device so it can work without an internet connection and sync changes when back online.
Click to reveal answer
beginner
How do you enable offline persistence in Firebase Firestore for a web app?
You enable it by calling
firebase.firestore().enablePersistence() before using Firestore.Click to reveal answer
beginner
What happens to data changes made while offline in Firebase?
Changes are saved locally and automatically synced to the server when the device reconnects to the internet.
Click to reveal answer
intermediate
Name one limitation of Firebase offline persistence.
Offline persistence has limited storage size and may not support complex queries while offline.
Click to reveal answer
beginner
Why is offline persistence important for mobile apps?
It improves user experience by allowing the app to work smoothly without internet and prevents data loss during connection drops.
Click to reveal answer
How do you enable offline persistence in Firebase Firestore for a web app?
✗ Incorrect
You must explicitly call enablePersistence() to turn on offline support in Firestore web apps.
What happens to data written while offline in Firebase Firestore?
✗ Incorrect
Firestore saves offline writes locally and syncs them automatically when online.
Which Firebase product supports offline persistence by default on mobile?
✗ Incorrect
Firestore supports offline persistence by default on Android and iOS.
What is a common limitation of offline persistence in Firebase?
✗ Incorrect
Offline persistence has limited storage capacity on the device.
Why is offline persistence useful for users?
✗ Incorrect
Offline persistence lets users keep using the app even without internet.
Explain how Firebase offline persistence works and why it is useful.
Think about how apps keep working without internet and then update later.
You got /4 concepts.
Describe how to enable offline persistence in Firebase Firestore and mention one limitation.
Focus on setup steps and what might not work well offline.
You got /4 concepts.