https://firebase.google.com/docs/firestore/manage-data/enable-offline
How does Firestore work with offline data?
How are writes merged by many clien
I guess the documentation has most of your answers. link
Firebase applications work even if your app temporarily loses its network connection. In addition, Firebase provides tools for persisting data locally, managing presence, and handling latency.
that means the data persistence is certainly for a limited time period.
Hope this helps. Please also refer to this link.