Cloud Firestore caches data that your app is actively using, so the app can write, read, listen to, and query data even if the device is offline . When the device comes back online, Cloud Firestore synchronizes any local changes back to Cloud Firestore.