{
  "_comment": "CUSTOMER PORTAL manifest. Separate from /manifest.json, which is the STAFF app (name 'ViyaBook', start_url '/dashboard', shortcuts for New Invoice / Customers / Trips). The portal used to link that file, so a customer who added the portal to their home screen got an icon called ViyaBook that opened the staff dashboard they have no access to. Distinct 'id' is what lets Chrome treat this as its own installable app on the same origin as the staff app. This static file is the FALLBACK name; assets/js/viya-portal-manifest.js replaces it at runtime with '<Business> Customer Portal' once the business is known.",
  "id": "/customer-portal",
  "name": "Customer Portal",
  "short_name": "Portal",
  "description": "View your invoices, deliveries and balance.",
  "start_url": "/customer-portal",
  "scope": "/",
  "display": "standalone",
  "display_override": ["standalone", "browser"],
  "orientation": "portrait",
  "theme_color": "#185FA5",
  "background_color": "#ffffff",
  "lang": "en",
  "dir": "ltr",
  "categories": ["business", "finance"],
  "prefer_related_applications": false,
  "launch_handler": {
    "client_mode": ["focus-existing", "auto"]
  },
  "icons": [
    { "src": "/assets/icons/icon-72.png", "sizes": "72x72", "type": "image/png", "purpose": "any" },
    { "src": "/assets/icons/icon-96.png", "sizes": "96x96", "type": "image/png", "purpose": "any" },
    { "src": "/assets/icons/icon-128.png", "sizes": "128x128", "type": "image/png", "purpose": "any" },
    { "src": "/assets/icons/icon-144.png", "sizes": "144x144", "type": "image/png", "purpose": "any" },
    { "src": "/assets/icons/icon-152.png", "sizes": "152x152", "type": "image/png", "purpose": "any" },
    { "src": "/assets/icons/icon-180.png", "sizes": "180x180", "type": "image/png", "purpose": "any" },
    { "src": "/assets/icons/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
    { "src": "/assets/icons/icon-384.png", "sizes": "384x384", "type": "image/png", "purpose": "any" },
    { "src": "/assets/icons/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
    { "src": "/assets/icons/icon-maskable-192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" },
    { "src": "/assets/icons/icon-maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any maskable" }
  ]
}
