{
  "name": "AccessEat",
  "short_name": "AccessEat",
  "description": "AccessEat – Food Delivery and Driver Companion App with Live Tracking",
  "start_url": "/home",
  "scope": "/",
  "display": "standalone",
  "background_color": "#ffffff",
  "theme_color": "#ff4f5a",
  "orientation": "portrait",

  "icons": [
    {
      "src": "/assets/pwa-icon-192.png?v=20260305",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "/assets/pwa-icon-512.png?v=20260305",
      "sizes": "512x512",
      "type": "image/png"
    },
    {
      "src": "/assets/pwa-icon-maskable-512.png?v=20260305",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ],

  "categories": ["food", "delivery", "driver", "logistics", "pwa"],

  "permissions": [
    "geolocation",
    "notifications",
    "background-sync",
    "periodic-background-sync"
  ],

  "background": {
    "service_worker": "/sw.js"
  },

  "features": {
    "periodicSync": true,
    "backgroundSync": true,
    "pushNotifications": true,
    "geolocation": true
  },

  "shortcuts": [
    {
      "name": "Go Online",
      "short_name": "Online",
      "description": "Start accepting delivery requests",
      "url": "/home#go-online",
      "icons": [
        { "src": "/assets/icons/delivery_online.png", "sizes": "96x96" }
      ]
    },
    {
      "name": "My Deliveries",
      "short_name": "Deliveries",
      "description": "View and manage active deliveries",
      "url": "/home#deliveries",
      "icons": [
        {
          "src": "/assets/icons/delivery_online.png",
          "sizes": "96x96"
        }
      ]
    },
    {
      "name": "My Earnings",
      "short_name": "Earnings",
      "description": "Check your weekly earnings and trip stats",
      "url": "/home#earnings",
      "icons": [{ "src": "/assets/icons/earnings.png", "sizes": "96x96" }]
    }
  ],

  "prefer_related_applications": false
}
