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
- Purchase and download the Offline Tracking module
- Extract the module to
Modules/OfflineTracking - Run the installation command:
php artisan module:enable OfflineTracking
php artisan migrate
- Configure the module in Settings > Modules > Offline Tracking
Usage
Enabling Offline Mode
- Navigate to Settings > Attendance > Offline Tracking
- Enable offline tracking for the organization
- Configure offline settings:
- Maximum offline duration
- Data storage limits
- Sync priorities
- Deploy updated mobile app configuration
Employee Offline Attendance
When working offline:
- Employee opens the mobile app
- App detects no internet connectivity
- Employee records attendance as normal
- Data is stored locally on device
- Timestamp and location (GPS) are captured
Automatic Data Sync
When connectivity is restored:
- App detects internet connection
- Queued offline records are synced automatically
- Server validates and processes records
- Sync confirmation is displayed
- Local cache is cleared
Manual Sync
If automatic sync fails:
- Go to Attendance > Offline Records in the app
- View pending offline records
- Tap Sync Now
- Resolve any sync conflicts
Administrator View
- Navigate to Attendance > Offline Sync Status
- View pending offline records across employees
- Monitor sync success/failure rates
- Resolve sync conflicts manually if needed
Configuration Options
| Setting | Description | Default |
|---|---|---|
| Max Offline Days | Maximum days of offline data storage | 7 days |
| Storage Limit | Maximum storage for offline data | 100 MB |
| Sync on WiFi Only | Only sync when connected to WiFi | No |
| Auto Retry | Automatically retry failed syncs | Yes |
| Conflict Resolution | How to handle sync conflicts | Server wins |
Offline Capabilities
| Feature | Offline Support |
|---|---|
| Check-in/Check-out | Yes |
| GPS Location Capture | Yes |
| Face Recognition | Yes (if enrolled) |
| QR Scanning | Yes (static codes) |
| Leave Requests | Yes (queued) |
| Break Recording | Yes |
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
- Regular Sync - Encourage employees to sync daily when possible
- Storage Monitoring - Monitor device storage levels
- Conflict Review - Regularly review and resolve sync conflicts
- Device Updates - Keep mobile app updated for best offline support
- Training - Ensure employees understand offline mode behavior
Related Modules
- Geofence System - GPS location validation
- Face Attendance - Offline face recognition support
- Site Attendance - Site-based attendance with offline support