Offline Mode Guide
Understand how Baby Tracker works without an internet connection.
Baby Tracker is designed as an offline-first application:
How Offline Mode Works
Baby Tracker is designed as an offline-first application:
- All records are saved locally on your device (in browser IndexedDB)
- You can access all features even without internet connection
- When connection is restored, the app automatically syncs all pending records
Offline Indicators
When you are offline, you will see:
- A yellow banner at the top of the page saying "You are offline β Records saved locally"
- An "Offline" badge in the navbar
Pending Sync
When you save records while offline:
- A badge with the number of pending items appears in the navbar
- When connection is restored, all pending items sync automatically
- You can also click the badge to manually force a sync
Offline Limitations
While offline:
- New notifications are not generated (since cron job needs to be online)
- Charts use cached data β new data will appear after syncing
Offline Troubleshooting:
If offline sync is not working:
- Check your internet connection
- Refresh the page to force a sync
- Check developer console for IndexedDB errors (F12 β Application β IndexedDB)
- Contact administrator if pending items remain stuck
Offline Tip: The sleep timer and feeding timer work offline too. Your sessions are saved locally and sync when you're back online.