{
    "name": "Adaptonia",
    "short_name": "Adaptonia",
    "description": "Chat, collaborate, and manage tasks with Adaptonia",
    "display": "standalone",
    "orientation": "portrait-primary",
    "theme_color": "#4F46E5",
    "background_color": "#4F46E5",
    "start_url": "/",
    "id": "/",
    "scope": "/",
    "lang": "en",
    "categories": ["productivity", "social", "communication"],
    "icons": [
      {
        "src": "/icons/icon-72x72.png",
        "sizes": "72x72",
        "type": "image/png",
        "purpose": "any"
      },
      {
        "src": "/icons/icon-96x96.png",
        "sizes": "96x96",
        "type": "image/png",
        "purpose": "any"
      },
      {
        "src": "/icons/icon-128x128.png",
        "sizes": "128x128",
        "type": "image/png",
        "purpose": "any"
      },
      {
        "src": "/icons/icon-144x144.png",
        "sizes": "144x144",
        "type": "image/png",
        "purpose": "any"
      },
      {
        "src": "/icons/icon-152x152.png",
        "sizes": "152x152",
        "type": "image/png",
        "purpose": "any"
      },
      {
        "src": "/icons/icon-192x192.png",
        "sizes": "192x192",
        "type": "image/png",
        "purpose": "any"
      },
      {
        "src": "/icons/icon-384x384.png",
        "sizes": "384x384",
        "type": "image/png",
        "purpose": "any"
      },
      {
        "src": "/icons/icon-512x512.png",
        "sizes": "512x512",
        "type": "image/png",
        "purpose": "any"
      },
      {
        "src": "/icons/maskable-192x192.png",
        "sizes": "192x192",
        "type": "image/png",
        "purpose": "maskable"
      },
      {
        "src": "/icons/maskable-512x512.png",
        "sizes": "512x512",
        "type": "image/png",
        "purpose": "maskable"
      }
    ],
    "shortcuts": [
      {
        "name": "Dashboard",
        "short_name": "Dashboard",
        "description": "View your tasks",
        "url": "/dashboard",
        "icons": [{ "src": "/icons/shortcut-dashboard.png", "sizes": "96x96" }]
      },
      {
        "name": "Add Task",
        "short_name": "Add Task",
        "description": "Create a new task",
        "url": "/dashboard?newTask=true",
        "icons": [{ "src": "/icons/shortcut-add.png", "sizes": "96x96" }]
      },
      {
        "name": "Invite Contacts",
        "short_name": "Invite",
        "description": "Invite friends to Adaptonia",
        "url": "/groups?invite=true",
        "icons": [{ "src": "/icons/shortcut-contacts.png", "sizes": "96x96" }]
      },
      {
        "name": "Groups",
        "short_name": "Groups",
        "description": "Chat and collaborate",
        "url": "/groups",
        "icons": [{ "src": "/icons/shortcut-groups.png", "sizes": "96x96" }]
      },
      {
        "name": "New Chat",
        "short_name": "Chat",
        "description": "Start a new chat conversation",
        "url": "/chat",
        "icons": [
          {
            "src": "/icons/icon-96x96.png",
            "sizes": "96x96"
          }
        ]
      }
    ],
    "file_handlers": [
      {
        "action": "/groups?import=contacts",
        "accept": {
          "text/vcard": [".vcf"],
          "text/csv": [".csv"]
        }
      }
    ],
    "share_target": {
      "action": "/groups?share=contacts",
      "method": "POST",
      "enctype": "multipart/form-data",
      "params": {
        "files": [
          {
            "name": "contact_file",
            "accept": ["text/vcard", "text/csv", ".vcf", ".csv"]
          }
        ]
      }
    },
    "screenshots": [
      {
        "src": "/screenshots/dashboard.png",
        "sizes": "1080x1920",
        "type": "image/png",
        "form_factor": "narrow",
        "label": "Dashboard with tasks and goals"
      },
      {
        "src": "/screenshots/task.png",
        "sizes": "1080x1920",
        "type": "image/png",
        "form_factor": "narrow",
        "label": "Task details and reminders"
      },
      {
        "src": "/screenshots/groups.png",
        "sizes": "1080x1920",
        "type": "image/png",
        "form_factor": "narrow",
        "label": "Group chat and collaboration"
      }
    ],
    "related_applications": [],
    "prefer_related_applications": false,
    "permissions": [
      "notifications",
      "contacts"
    ],
    "edge_side_panel": {
      "preferred_width": 400
    },
    "launch_handler": {
      "client_mode": ["navigate-existing", "auto"]
    },
    "display_override": ["window-controls-overlay", "standalone"],
    "protocol_handlers": [
      {
        "protocol": "adaptonia",
        "url": "/?action=%s"
      }
    ]
  } 