Installation Guide
Track Better is a Progressive Web App (PWA) that can be installed on your device for a native app-like experience. Once installed, it works offline, loads instantly, and appears on your home screen or application menu.Browser Requirements
Track Better works best in modern browsers with PWA support:Desktop
| Browser | Support | Installation Method |
|---|---|---|
| Chrome | Full support | Install button in address bar |
| Edge | Full support | Install button in address bar |
| Brave | Full support | Install button in address bar |
| Firefox | Limited | Manual bookmark (no offline support) |
| Safari | Not supported | Use bookmark |
Mobile
| Platform | Browser | Support | Installation Method |
|---|---|---|---|
| iOS | Safari | Full support | Add to Home Screen |
| Android | Chrome | Full support | Install banner or menu option |
| Android | Firefox | Limited | Add to Home Screen |
For the best experience with offline support and native app features, use Chrome on Android or Safari on iOS.
Installation Methods
Option 1: In-App Install Button
The easiest way to install Track Better is using the built-in install button:Look for the Install Button
In the top-right corner of the header, you’ll see a download icon button with a cyan/blue accent color
The install button only appears in browsers that support PWA installation. If you don’t see it, use one of the manual methods below.
src/App.jsx:224:
Option 2: Chrome Desktop (Manual)
If the install button doesn’t appear:Option 3: Chrome Address Bar (Desktop)
Look for the install icon in the address bar:- When you visit Track Better, Chrome may show a small install icon (⊕) in the address bar
- Click the icon
- Click “Install” in the popup dialog
Option 4: iOS Safari
For iPhone and iPad users:
Track Better will now appear on your home screen with the app icon.
Option 5: Android Chrome
For Android devices:Method A: Install Banner
- Visit Track Better in Chrome
- Chrome may automatically show an “Add to Home Screen” banner at the bottom
- Tap “Add to Home Screen”
- Confirm by tapping “Add”
Method B: Chrome Menu
Method C: Install App Option
Some Android devices show an “Install app” option:- Tap the three-dot menu
- Select “Install app” if available
- Tap “Install” in the dialog
Android uses the PWA icons defined in
manifest.webmanifest including 192x192 and 512x512 PNG files.Verifying Installation
Desktop
After installation on desktop, Track Better should:- Open in a standalone window (no browser UI)
- Appear in your applications menu (Windows: Start Menu, macOS: Applications folder)
- Show the Track Better icon in the taskbar/dock
- Display the correct theme color in the title bar
Mobile
After installation on mobile, Track Better should:- Appear as an app icon on your home screen
- Open in fullscreen mode (no browser chrome)
- Show the splash screen when launching
- Work in the app switcher like native apps
- Support the status bar theme color
Testing Offline Mode
Track Better uses a Service Worker (defined in
/public/sw.js) to cache all assets and enable offline functionality. After the first visit, everything runs locally.Manifest Configuration
Track Better’s PWA configuration is defined inmanifest.webmanifest:
| Property | Value | Purpose |
|---|---|---|
display | "standalone" | Opens app in full window without browser UI |
theme_color | "#0f172a" | Dark slate color for status bar and title bar |
background_color | "#f8fafc" | Light background shown during loading |
start_url | "/" | URL to open when launching the app |
App Icons
Track Better includes multiple icon formats for different platforms:Icon Files
Icon Usage
- Desktop browsers: Use favicon files for tabs and bookmarks
- iOS devices: Use apple-touch-icon.png for home screen
- Android devices: Use pwa-192x192.png and pwa-512x512.png
- Dynamic favicon: Changes based on theme preference
Uninstalling Track Better
Desktop (Chrome/Edge/Brave)
iOS (Safari)
- Find the Track Better icon on your home screen
- Long-press the icon until it jiggles
- Tap the X or “Remove App” button
- Select “Delete App” (not “Remove from Home Screen”)
- Confirm deletion
Android (Chrome)
- Find Track Better on your home screen or app drawer
- Long-press the icon
- Select “App info” or drag to the info icon
- Tap “Uninstall”
- Confirm removal
Troubleshooting
Install Button Doesn’t Appear
Possible causes:- Browser doesn’t support PWAs
- App is already installed
- Site is not served over HTTPS (required for PWAs)
- Try a different browser (Chrome or Edge recommended)
- Use manual installation method for your platform
- Ensure you’re visiting the app via HTTPS
App Doesn’t Work Offline
Check these items:- Ensure Service Worker registered successfully
- Open browser DevTools > Application > Service Workers
- Verify worker status is “activated and running”
- Check Cache Storage for cached assets
- Open Track Better in browser
- Press
Ctrl+Shift+R(Windows) orCmd+Shift+R(Mac) - Wait for Service Worker to update
- Test offline functionality again
Data Not Persisting
Causes:- localStorage disabled in browser settings
- Private/Incognito mode (data clears on close)
- Browser clearing site data automatically
- Enable localStorage in browser settings
- Don’t use private browsing for Track Better
- Export data regularly as backup
Dark Mode Not Working
- Click the sun/moon icon in the top-right header
- Check localStorage contains
themekey - Verify
document.documentElement.classListincludesdarkclass - Clear browser cache and reload
Next Steps
Now that Track Better is installed:Explore Features
Learn about all the features Track Better offers
Start Tracking
Begin your fitness journey today