{
  "name": "Breathe Free",
  "short_name": "Breathe Free",
  "description": "Your personal guide to a smoke-free life.",
  "start_url": "/app",
  "display": "standalone",
  "display_override": ["window-controls-overlay", "minimal-ui"],
  "background_color": "#ffffff",
  "theme_color": "#10B981",
  "orientation": "portrait-primary",
  "scope": "/app",
  "categories": ["health", "lifestyle", "medical", "productivity", "wellness"],
  "lang": "en-US",
  "dir": "ltr",
  "id": "breathefree-pwa",
  "prefer_related_applications": false,
  
  "shortcuts": [
    {
      "name": "Emergency Support",
      "short_name": "Help Now",
      "description": "Get immediate craving support and emergency help",
      "url": "/app?tab=support&utm_source=shortcut",
      "icons": [
        {
          "src": "/icons/logo-512x512.png",
          "sizes": "192x192",
          "type": "image/svg+xml",
          "purpose": "any"
        }
      ]
    },
    {
      "name": "View Progress",
      "short_name": "Progress",
      "description": "Check your quit smoking progress and achievements",
      "url": "/app?tab=progress&utm_source=shortcut",
      "icons": [
        {
          "src": "/icons/logo-512x512.png",
          "sizes": "192x192", 
          "type": "image/svg+xml",
          "purpose": "any"
        }
      ]
    },
    {
      "name": "Log Mood",
      "short_name": "Mood",
      "description": "Quick mood check-in and wellness tracking",
      "url": "/app?action=log-mood&utm_source=shortcut",
      "icons": [
        {
          "src": "/icons/logo-512x512.png",
          "sizes": "192x192",
          "type": "image/svg+xml", 
          "purpose": "any"
        }
      ]
    },
    {
      "name": "Daily Motivation",
      "short_name": "Motivate",
      "description": "Get your daily dose of motivation and tips",
      "url": "/app?tab=support&view=motivation&utm_source=shortcut",
      "icons": [
        {
          "src": "/icons/logo-512x512.png",
          "sizes": "192x192",
          "type": "image/svg+xml",
          "purpose": "any"
        }
      ]
    }
  ],

  "icons": [
    {
      "src": "/icons/logo-512x512.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "/icons/logo-512x512.png",
      "sizes": "512x512",
      "type": "image/png"
    }
  ],

  "screenshots": [
    {
      "src": "/screenshots/dashboard.webp",
      "sizes": "390x844",
      "type": "image/webp",
      "platform": "narrow",
      "label": "Main dashboard showing quit progress and health benefits"
    },
    {
      "src": "/screenshots/progress.webp", 
      "sizes": "390x844",
      "type": "image/webp",
      "platform": "narrow",
      "label": "Detailed progress tracking and milestone achievements"
    },
    {
      "src": "/screenshots/support.webp",
      "sizes": "390x844", 
      "type": "image/webp",
      "platform": "narrow",
      "label": "Emergency craving support and breathing exercises"
    },
    {
      "src": "/screenshots/desktop-dashboard.webp",
      "sizes": "1280x720",
      "type": "image/webp", 
      "platform": "wide",
      "label": "Desktop view of the comprehensive quit smoking dashboard"
    }
  ],

  "protocol_handlers": [
    {
      "protocol": "web+breathefree",
      "url": "/?action=%s"
    }
  ],

  "share_target": {
    "action": "/share-progress",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "progress-image",
          "accept": ["image/*"]
        }
      ]
    }
  },

  "file_handlers": [
    {
      "action": "/import-data",
      "accept": {
        "application/json": [".json"],
        "text/csv": [".csv"]
      },
      "icons": [
        {
          "src": "/icons/icon-192x192.svg",
          "sizes": "192x192",
          "type": "image/svg+xml"
        }
      ]
    }
  ],

  "edge_side_panel": {
    "preferred_width": 400
  },

  "launch_handler": {
    "client_mode": "focus-existing"
  },

  "handle_links": "preferred"
} 