{
  "name": "Sevark HRMSpro",
  "short_name": "HRMSpro",
  "description": "24/7 Customer Support Application for Sevark HRMSpro - Real-time work, push notifications, and offline support",
  "start_url": "/login.php",
  "display": "standalone",
  "display_override": [
    "window-controls-overlay",
    "minimal-ui",
    "standalone"
  ],
  "orientation": "portrait",
  "theme_color": "#2563eb",
  "background_color": "#ffffff",
  "scope": "/",
  "lang": "en",
  "dir": "auto",
  "id": "sevark-hrms-pro-v1",
  "categories": [
    "business",
    "productivity",
    "communication"
  ],
  "icons": [
    {
      "src": "/icons/icon-72x72.png",
      "sizes": "72x72",
      "type": "image/png",
      "purpose": "any maskable"
    },
    {
      "src": "/icons/icon-96x96.png",
      "sizes": "96x96",
      "type": "image/png",
      "purpose": "any maskable"
    },
    {
      "src": "/icons/icon-128x128.png",
      "sizes": "128x128",
      "type": "image/png",
      "purpose": "any maskable"
    },
    {
      "src": "/icons/icon-144x144.png",
      "sizes": "144x144",
      "type": "image/png",
      "purpose": "any maskable"
    },
    {
      "src": "/icons/icon-152x152.png",
      "sizes": "152x152",
      "type": "image/png",
      "purpose": "any maskable"
    },
    {
      "src": "/icons/icon-192x192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any maskable"
    },
    {
      "src": "/icons/icon-384x384.png",
      "sizes": "384x384",
      "type": "image/png",
      "purpose": "any maskable"
    },
    {
      "src": "/icons/icon-512x512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any maskable"
    }
  ],
  "screenshots": [
    {
      "src": "/screenshots/desktop-main.png",
      "sizes": "1280x720",
      "type": "image/png",
      "form_factor": "wide",
      "label": "Desktop Chat Dashboard"
    },
    {
      "src": "/screenshots/mobile-main.png",
      "sizes": "360x640",
      "type": "image/png",
      "form_factor": "narrow",
      "label": "Mobile Chat View"
    }
  ],
  "file_handlers": [
    {
      "action": "/chat_dashboard.php",
      "accept": {
        "text/plain": [".txt"],
        "text/html": [".html", ".htm"],
        "application/json": [".json"],
        "image/*": [".jpg", ".jpeg", ".png", ".gif", ".webp"],
        "application/pdf": [".pdf"]
      }
    }
  ],
  "protocol_handlers": [
    {
      "protocol": "web+sevarkchat",
      "url": "/chat_dashboard.php?chat=%s"
    },
    {
      "protocol": "web+hrms",
      "url": "/chat_dashboard.php?action=%s"
    }
  ],
  "share_target": {
    "action": "/api/share-handler.php",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "files",
          "accept": ["image/*", "text/*", "application/pdf"]
        }
      ]
    }
  },
  "related_applications": [
    {
      "platform": "play",
      "url": "https://play.google.com/store/apps/details?id=com.sevark.hrms.chat",
      "id": "com.sevark.hrms.chat"
    }
  ],
  "prefer_related_applications": false,
  "iarc_rating_id": "e10b7c8d-9a4f-4c2e-8d1a-3f5b7e9c2a4d",
  "widgets": [
    {
      "name": "Recent Chats",
      "description": "View and respond to recent chat conversations",
      "tag": "recent-chats",
      "type": "recent-conversations",
      "data": {
        "maxItems": 5,
        "showAvatars": true,
        "showPreview": true,
        "showUnreadBadge": true
      },
      "icons": [
        {
          "src": "/icons/widget-icon-64x64.png",
          "sizes": "64x64",
          "type": "image/png"
        }
      ],
      "preview": "/widgets/preview.png",
      "screenshots": [
        {
          "src": "/widgets/screenshot.png",
          "sizes": "400x600",
          "type": "image/png",
          "label": "Widget Preview"
        }
      ]
    },
    {
      "name": "Unread Messages",
      "description": "Show unread message count",
      "tag": "unread-count",
      "type": "unread-messages",
      "data": {
        "showCount": true,
        "refreshInterval": 60
      },
      "icons": [
        {
          "src": "/icons/widget-icon-64x64.png",
          "sizes": "64x64",
          "type": "image/png"
        }
      ]
    },
    {
      "name": "Quick Support",
      "description": "Quick access to support features",
      "tag": "quick-support",
      "type": "quick-actions",
      "data": {
        "actions": [
          { "name": "New Chat", "url": "/chat_dashboard.php" },
          { "name": "View Tickets", "url": "/support/tickets.php" },
          { "name": "FAQs", "url": "/faq.php" }
        ]
      },
      "icons": [
        {
          "src": "/icons/widget-icon-64x64.png",
          "sizes": "64x64",
          "type": "image/png"
        }
      ]
    }
  ],
  "note_taking": {
    "new_note_url": "/notes/new.php",
    "defaults": {
      "title": "New Support Note",
      "body": "Start typing your support notes here..."
    },
    "allowed_origins": ["https://hrmspro.co.in", "https://notes.hrmspro.co.in"]
  },
  "launch_handler": {
    "client_mode": ["focus-existing", "navigate-existing", "auto"]
  },
  "edge_side_panel": {
    "preferred_width": 400
  }
}