Skip to main content

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

BrowserSupportInstallation Method
ChromeFull supportInstall button in address bar
EdgeFull supportInstall button in address bar
BraveFull supportInstall button in address bar
FirefoxLimitedManual bookmark (no offline support)
SafariNot supportedUse bookmark

Mobile

PlatformBrowserSupportInstallation Method
iOSSafariFull supportAdd to Home Screen
AndroidChromeFull supportInstall banner or menu option
AndroidFirefoxLimitedAdd 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:
1

Visit the App

Open Track Better in your browser (Chrome, Edge, or Brave on desktop)
2

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
3

Click Install

Tap the download button to trigger the installation prompt
4

Confirm Installation

Click “Install” in the browser’s native dialog
5

Launch the App

Track Better will open in a standalone window and appear in your applications
The install button only appears in browsers that support PWA installation. If you don’t see it, use one of the manual methods below.
Code Reference: The install button is implemented at src/App.jsx:224:
{showInstallButton && (
  <Button
    type="button"
    size="icon"
    variant="outline"
    className="rounded-full border-cyan-200 bg-cyan-50/90 text-cyan-700"
    onClick={handleInstall}
    aria-label="Install app"
  >
    <Download className="h-4 w-4" />
  </Button>
)}

Option 2: Chrome Desktop (Manual)

If the install button doesn’t appear:
1

Open the Menu

Click the three-dot menu icon in the top-right corner of Chrome
2

Select Save and Share

Hover over “Save and share” in the dropdown menu
3

Choose Install Track Better

Click “Install Track Better…” or “Create shortcut…”
4

Confirm

Check “Open as window” (if available) and click Install

Option 3: Chrome Address Bar (Desktop)

Look for the install icon in the address bar:
  1. When you visit Track Better, Chrome may show a small install icon (⊕) in the address bar
  2. Click the icon
  3. Click “Install” in the popup dialog

Option 4: iOS Safari

For iPhone and iPad users:
1

Open Safari

Navigate to Track Better in Safari (not Chrome or other browsers)
2

Tap the Share Button

Tap the share icon at the bottom of the screen (box with arrow pointing up)
3

Scroll Down

Scroll down in the share sheet until you see “Add to Home Screen”
4

Add to Home Screen

Tap “Add to Home Screen”
5

Customize Name (Optional)

Edit the name if desired (default: “Track Better”)
6

Tap Add

Tap “Add” in the top-right corner
Track Better will now appear on your home screen with the app icon.
iOS uses the apple-touch-icon.png file for the home screen icon. This is a high-resolution 180x180 pixel image stored at /public/apple-touch-icon.png.

Option 5: Android Chrome

For Android devices:

Method A: Install Banner

  1. Visit Track Better in Chrome
  2. Chrome may automatically show an “Add to Home Screen” banner at the bottom
  3. Tap “Add to Home Screen”
  4. Confirm by tapping “Add”

Method B: Chrome Menu

1

Open Chrome Menu

Tap the three-dot menu icon in the top-right corner
2

Tap Add to Home Screen

Select “Add to Home screen” from the menu
3

Customize Name

Edit the name if desired (default: “Track Better”)
4

Tap Add

Tap “Add” to confirm

Method C: Install App Option

Some Android devices show an “Install app” option:
  1. Tap the three-dot menu
  2. Select “Install app” if available
  3. 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

1

Install the App

Complete installation using any method above
2

Use the App

Open Track Better and log some workout sets to ensure data saves
3

Enable Airplane Mode

Turn on airplane mode or disconnect from WiFi
4

Launch Track Better

Open the app from your home screen or application menu
5

Verify Functionality

Confirm the app loads instantly and all features work including videos and data
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 in manifest.webmanifest:
{
  "name": "Track Better - Workout Tracker",
  "short_name": "Track Better",
  "description": "Track your daily workouts and build your fitness journey.",
  "start_url": "/",
  "display": "standalone",
  "background_color": "#f8fafc",
  "theme_color": "#0f172a",
  "icons": [
    {
      "src": "/icon-light.svg",
      "sizes": "any",
      "type": "image/svg+xml",
      "purpose": "any"
    },
    {
      "src": "/icon-dark.svg",
      "sizes": "any",
      "type": "image/svg+xml",
      "purpose": "any"
    }
  ]
}
Key Properties:
PropertyValuePurpose
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
The theme color dynamically updates based on dark/light mode preference. Dark mode uses #020617 while light mode uses #0f172a.

App Icons

Track Better includes multiple icon formats for different platforms:

Icon Files

/public/
├── icon-light.svg          # SVG icon for light theme
├── icon-dark.svg           # SVG icon for dark theme
├── apple-touch-icon.png    # iOS home screen icon (180x180)
├── pwa-192x192.png         # Android small icon
├── pwa-512x512.png         # Android large icon
├── favicon-16x16.png       # Browser favicon (small)
└── favicon-32x32.png       # Browser favicon (large)

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)

1

Open Track Better

Launch the installed app
2

Open App Menu

Click the three-dot menu icon in the top-right corner of the app window
3

Uninstall

Select “Uninstall Track Better…” from the menu
4

Confirm

Click “Remove” or “Uninstall” in the confirmation dialog
Uninstalling the app will remove it from your system but may not delete your workout data from localStorage. Use the “Hard Reset” feature in Settings before uninstalling if you want to clear all data.

iOS (Safari)

  1. Find the Track Better icon on your home screen
  2. Long-press the icon until it jiggles
  3. Tap the X or “Remove App” button
  4. Select “Delete App” (not “Remove from Home Screen”)
  5. Confirm deletion

Android (Chrome)

  1. Find Track Better on your home screen or app drawer
  2. Long-press the icon
  3. Select “App info” or drag to the info icon
  4. Tap “Uninstall”
  5. 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)
Solutions:
  • 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:
  1. Ensure Service Worker registered successfully
  2. Open browser DevTools > Application > Service Workers
  3. Verify worker status is “activated and running”
  4. Check Cache Storage for cached assets
Force refresh:
  1. Open Track Better in browser
  2. Press Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac)
  3. Wait for Service Worker to update
  4. 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
Solutions:
  • Enable localStorage in browser settings
  • Don’t use private browsing for Track Better
  • Export data regularly as backup

Dark Mode Not Working

  1. Click the sun/moon icon in the top-right header
  2. Check localStorage contains theme key
  3. Verify document.documentElement.classList includes dark class
  4. 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
Set up a daily reminder on your phone to open Track Better and log your workouts. Consistency is key to building a lasting habit!

Build docs developers (and LLMs) love