{
  "name": "Dekhai ERP — Smart Business Solution",
  "short_name": "Dekhai",
  "description": "Dekhai ERP — Mobile-first business management with POS, invoices, inventory, accounting & reports. Works offline.",
  "id": "/?source=pwa",
  "start_url": "/?source=pwa",
  "scope": "/",
  "display": "standalone",
  "display_override": ["window-controls-overlay", "standalone", "minimal-ui", "browser"],
  "orientation": "any",
  "background_color": "#0070cc",
  "theme_color": "#0070cc",
  "lang": "bn-BD",
  "dir": "ltr",
  "categories": ["business", "productivity", "finance"],
  "prefer_related_applications": false,
  "icons": [
    { "src": "/logo192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
    { "src": "/logo192.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" },
    { "src": "/logo512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
    { "src": "/logo512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" },
    { "src": "/logo.png",    "sizes": "1024x1024", "type": "image/png", "purpose": "any" }
  ],
  "shortcuts": [
    { "name": "New Invoice", "short_name": "Invoice", "description": "Quickly create a new sales invoice",
      "url": "/invoices?new=1", "icons": [{ "src": "/logo192.png", "sizes": "192x192" }] },
    { "name": "POS Counter", "short_name": "POS", "description": "Open POS counter for fast sales",
      "url": "/pos", "icons": [{ "src": "/logo192.png", "sizes": "192x192" }] },
    { "name": "Add Product", "short_name": "Product", "description": "Add new product",
      "url": "/products?new=1", "icons": [{ "src": "/logo192.png", "sizes": "192x192" }] },
    { "name": "Add Party", "short_name": "Party", "description": "Add new customer or supplier",
      "url": "/parties?new=1", "icons": [{ "src": "/logo192.png", "sizes": "192x192" }] },
    { "name": "Dashboard", "short_name": "Home", "description": "Business dashboard overview",
      "url": "/dashboard", "icons": [{ "src": "/logo192.png", "sizes": "192x192" }] }
  ],
  "screenshots": [
    { "src": "/logo512.png", "sizes": "512x512", "type": "image/png", "form_factor": "narrow", "label": "Dekhai ERP Mobile" },
    { "src": "/logo512.png", "sizes": "512x512", "type": "image/png", "form_factor": "wide",   "label": "Dekhai ERP Desktop" }
  ],
  "share_target": {
    "action": "/share",
    "method": "GET",
    "enctype": "application/x-www-form-urlencoded",
    "params": { "title": "title", "text": "text", "url": "url" }
  },
  "protocol_handlers": [
    { "protocol": "web+dekhai", "url": "/share?url=%s" }
  ],
  "edge_side_panel": { "preferred_width": 480 },
  "launch_handler": { "client_mode": ["navigate-existing", "auto"] }
}
