Appearance
Local Data Storage
InspectERM stores a copy of your work data on your device. This local store is what the application reads when you are offline. It is managed automatically, you do not need to configure, clear, or maintain it.
What Is Stored Locally
| Data Type | Stored | Notes |
|---|---|---|
| Work list (all inspections and tasks) | Yes | Updated on every successful network load |
| Inspection item results (entered offline) | Yes | Queued for upload |
| Work log entries (created offline) | Yes | Queued for upload |
| Task status updates (made offline) | Yes | Queued for upload |
| Photos (captured offline) | Yes | Stored on-device, uploaded when connected |
| User session / auth token | Yes | Persists between launches |
| View preferences (card/list, font size) | Yes | Persists between launches |
What Is Not Stored Locally
| Data Type | Notes |
|---|---|
| New assignments from CloudERM | Appear only after a network sync |
| Historical records outside the current work list | The cache covers the most recent load only |
Cache Freshness
The local cache is updated every time the app successfully fetches data from the network:
- On app launch (if connected)
- On manual pull-to-refresh
- After a sync completes
The cache is not time-limited. It remains valid until overwritten by a fresh network load.
Cache Size
The cache stores up to 100 items per load (the pagination limit). Photos are stored per item until uploaded. Cache size is managed automatically.
Clearing Local Data
Local data is cleared when:
- You log out of the application
- You switch environments in Settings (logout is triggered automatically)
- The application is uninstalled from the device