Process Flow - Offline persistence
App starts
Enable offline persistence
User reads/writes data
Check network status
Sync with
server DB
Update UI
When back online
Sync local changes
Update server DB and UI
This flow shows how enabling offline persistence lets the app store data locally when offline and sync with the server when back online.