iOS App

Offline Mode

MBS Attendance is designed to keep working when internet connectivity is unavailable. This is essential for farm sites, remote depots and any location with unreliable signal.

How offline mode works

When the app cannot reach the server, clock events are stored locally on the device in an encrypted queue. The app continues to function normally — supervisors can clock employees in and out, and the status display updates based on the locally queued events. The employee and department data is cached locally so the app does not need a connection to look up employees.

The offline queue

The Settings tab shows the current offline queue count. In normal operation this should be 0 or very close to 0. If you see a large number, it means connectivity has been lost and events are accumulating. This is fine — nothing is lost.

Each queued event includes the employee ID, clock type, timestamp and the method used (so records show the original clock-in method even after syncing).

Syncing

Syncing happens automatically as soon as connectivity returns — you do not need to do anything. The app checks for connectivity every 15 seconds in the background. When the server is reachable, queued events are sent in order and the queue count drops to zero.

You can also force a sync manually by going to Settings and tapping Sync Now. If any events fail to sync (due to a server error rather than connectivity), they remain in the queue and are retried automatically.

Limitations

  • The dashboard attendance stats are based on locally queued events when offline. Once synced, the server's data takes over and stats may update slightly.
  • Leave requests require a connection — they cannot be submitted or approved offline.
  • Employee and department data is cached at last-sync time. If you add a new employee on the server while the app is offline, they will not appear until the next successful sync.
Sync before going to a remote site

Before driving to a remote site with no signal, open the app while still connected and tap Refresh All Data in Settings. This ensures you have the latest employee list and any recent changes.