Skip to main content

Offline Tracking

This module is used to track employees offline. Enable attendance recording and location tracking even when employees are in areas without internet connectivity, with automatic synchronization when back online.

Features

  • Offline Attendance Recording - Record check-in/out without internet connection
  • Data Sync When Online - Automatically sync stored data when connectivity is restored
  • Offline Mode Support - Full functionality in disconnected environments

Requirements

  • Open Core Business Suite (Base System)
  • Mobile app with offline capabilities
  • Sufficient device storage for offline data

Installation

  1. Purchase and download the Offline Tracking module
  2. Extract the module to Modules/OfflineTracking
  3. Run the installation command:
php artisan module:enable OfflineTracking
php artisan migrate
  1. Configure the module in Settings > Modules > Offline Tracking

Usage

Enabling Offline Mode

  1. Navigate to Settings > Attendance > Offline Tracking
  2. Enable offline tracking for the organization
  3. Configure offline settings:
    • Maximum offline duration
    • Data storage limits
    • Sync priorities
  4. Deploy updated mobile app configuration

Employee Offline Attendance

When working offline:

  1. Employee opens the mobile app
  2. App detects no internet connectivity
  3. Employee records attendance as normal
  4. Data is stored locally on device
  5. Timestamp and location (GPS) are captured

Automatic Data Sync

When connectivity is restored:

  1. App detects internet connection
  2. Queued offline records are synced automatically
  3. Server validates and processes records
  4. Sync confirmation is displayed
  5. Local cache is cleared

Manual Sync

If automatic sync fails:

  1. Go to Attendance > Offline Records in the app
  2. View pending offline records
  3. Tap Sync Now
  4. Resolve any sync conflicts

Administrator View

  1. Navigate to Attendance > Offline Sync Status
  2. View pending offline records across employees
  3. Monitor sync success/failure rates
  4. Resolve sync conflicts manually if needed

Configuration Options

SettingDescriptionDefault
Max Offline DaysMaximum days of offline data storage7 days
Storage LimitMaximum storage for offline data100 MB
Sync on WiFi OnlyOnly sync when connected to WiFiNo
Auto RetryAutomatically retry failed syncsYes
Conflict ResolutionHow to handle sync conflictsServer wins

Offline Capabilities

FeatureOffline Support
Check-in/Check-outYes
GPS Location CaptureYes
Face RecognitionYes (if enrolled)
QR ScanningYes (static codes)
Leave RequestsYes (queued)
Break RecordingYes

Data Integrity

The module ensures data integrity through:

  • Timestamps - All records include device timestamp
  • GPS Coordinates - Location captured even offline
  • Device Verification - Records tied to verified devices
  • Conflict Detection - Identifies overlapping or duplicate records
  • Audit Trail - Complete log of offline records and sync events

Best Practices

  1. Regular Sync - Encourage employees to sync daily when possible
  2. Storage Monitoring - Monitor device storage levels
  3. Conflict Review - Regularly review and resolve sync conflicts
  4. Device Updates - Keep mobile app updated for best offline support
  5. Training - Ensure employees understand offline mode behavior