Working Offline
4 minutes
Why Offline?
In industrial environments it is common to have limited WiFi coverage. The app is designed to work perfectly without internet.
โ With connection
- โข Local + cloud save
- โข Real-time synchronisation
- โข Automatic backup
๐ด No connection
- โข Local save only
- โข Sync queue
- โข Uploads on reconnect
What Works Offline?
| Feature | Offline |
|---|---|
| View existing studies | โ |
| View observation plan | โ |
| Record observations | โ |
| Edit observations | โ |
| View reports (cached) | โ |
| Receive scheduled notifications | โ |
| Create new studies | โ (requires connection) |
| Sync with other devices | โ |
How Synchronisation Works
๐ฑ
Your device
Sync
โ๏ธ
Firebase Cloud
- You work offline: Data is saved in IndexedDB (browser database)
- You regain connection: The app automatically detects there is internet
- Synchronisation: Pending data is uploaded to the cloud
- Confirmation: Everything is backed up and synced
Connection Indicator
Some browsers show when you are offline. You can also verify:
- If there is no connection, some actions will display a message
- Data is saved locally anyway
๐ก Don't worry
Losing the connection will not lose your data. You can record hundreds of observations without internet and they will sync when you regain connectivity.
Data Persistence
Offline data is stored in IndexedDB:
- It persists even if you close the browser
- It persists even if you turn off the device
- It is only deleted if you clear the browser cache
โ ๏ธ Caution
Do not clear the browser cache until you have synced. Connect to the internet regularly to make sure everything is backed up.
๐ฏ End of Module 3
Excellent! You now know how to plan, receive notifications, record, and work offline. In the next module you will learn to analyse the results.