{
  "id": "/",
  "name": "MyPWA — Full Featured App",
  "short_name": "MyPWA1",
  "description": "A full-featured Progressive Web App with offline support, push notifications, background sync, file handling, and more.",
  "start_url": "/?source=pwa",
  "scope": "/",
  "lang": "id",
  "dir": "ltr",
  "display": "standalone",
  "display_override": [
    "window-controls-overlay",
    "tabbed",
    "standalone",
    "minimal-ui",
    "fullscreen",
    "browser"
  ],
  "orientation": "any",
  "theme_color": "#ffffff",
  "background_color": "#ffffff",
  "categories": [
    "education",
    "news",
    "productivity",
    "social",
    "utilities"
  ],
  "iarc_rating_id": "e84b072d-71b3-4d3e-86ae-31a8ce4e53b7",
  "prefer_related_applications": false,
  "related_applications": [
    {
      "platform": "play",
      "url": "https://play.google.com/store/apps/details?id=com.rmedia.app",
      "id": "com.rmedia.app"
    },
    {
      "platform": "itunes",
      "url": "https://apps.apple.com/app/rmedia/id123456789"
    },
    {
      "platform": "windows",
      "url": "https://www.microsoft.com/store/apps/9NBLGGH4R315"
    }
  ],
  "icons": [
    {
      "src": "/icons/icon-48x48.png",
      "sizes": "48x48",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "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-192x192-maskable.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "maskable"
    },
    {
      "src": "/icons/icon-256x256.png",
      "sizes": "256x256",
      "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/icon-512x512-maskable.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    },
    {
      "src": "/icons/icon-512x512-mono.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "monochrome"
    },
    {
      "src": "/icons/icon.svg",
      "sizes": "any",
      "type": "image/svg+xml",
      "purpose": "any maskable"
    }
  ],
  "screenshots": [
    {
      "src": "/screenshots/desktop-home.png",
      "sizes": "1280x800",
      "type": "image/png",
      "form_factor": "wide",
      "label": "Home screen on desktop"
    },
    {
      "src": "/screenshots/desktop-editor.png",
      "sizes": "1280x800",
      "type": "image/png",
      "form_factor": "wide",
      "label": "Note editor on desktop"
    },
    {
      "src": "/screenshots/mobile-home.png",
      "sizes": "390x844",
      "type": "image/png",
      "form_factor": "narrow",
      "label": "Home screen on mobile"
    },
    {
      "src": "/screenshots/mobile-notes.png",
      "sizes": "390x844",
      "type": "image/png",
      "form_factor": "narrow",
      "label": "Notes list on mobile"
    }
  ],
  "shortcuts": [
    {
      "name": "New Note",
      "short_name": "New Note",
      "description": "Create a new note quickly",
      "url": "/notes/new?source=shortcut",
      "icons": [
        {
          "src": "/icons/icon-96x96.png",
          "sizes": "96x96",
          "type": "image/png"
        }
      ]
    },
    {
      "name": "My Notes",
      "short_name": "Notes",
      "description": "View all your notes",
      "url": "/notes?source=shortcut",
      "icons": [
        {
          "src": "/icons/icon-96x96.png",
          "sizes": "96x96",
          "type": "image/png"
        }
      ]
    },
    {
      "name": "Upload File",
      "short_name": "Upload",
      "description": "Upload a file to the app",
      "url": "/upload?source=shortcut",
      "icons": [
        {
          "src": "/icons/icon-96x96.png",
          "sizes": "96x96",
          "type": "image/png"
        }
      ]
    },
    {
      "name": "Settings",
      "short_name": "Settings",
      "description": "App settings and preferences",
      "url": "/settings?source=shortcut",
      "icons": [
        {
          "src": "/icons/icon-96x96.png",
          "sizes": "96x96",
          "type": "image/png"
        }
      ]
    }
  ],
  "file_handlers": [
    {
      "action": "/open-file",
      "accept": {
        "text/plain": [".txt", ".text"],
        "text/markdown": [".md", ".markdown"],
        "application/json": [".json"],
        "text/html": [".html", ".htm"],
        "text/csv": [".csv"],
        "application/pdf": [".pdf"],
        "image/*": [".png", ".jpg", ".jpeg", ".gif", ".webp", ".svg"],
        "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [".docx"],
        "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": [".xlsx"]
      },
      "icons": [
        {
          "src": "/icons/icon-256x256.png",
          "sizes": "256x256",
          "type": "image/png"
        }
      ],
      "launch_type": "single-client"
    },
    {
      "action": "/open-note",
      "accept": {
        "application/x-rmedia-note": [".rmedia", ".mynote"]
      }
    }
  ],
  "launch_handler": {
    "client_mode": ["navigate-existing", "auto"]
  },
  "protocol_handlers": [
    {
      "protocol": "web+rmedia",
      "url": "/protocol?url=%s"
    },
    {
      "protocol": "web+note",
      "url": "/notes/open?data=%s"
    },
    {
      "protocol": "mailto",
      "url": "/compose?mailto=%s"
    }
  ],
  "share_target": {
    "action": "/share-target",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "media",
          "accept": ["image/*", "video/*", "audio/*"]
        },
        {
          "name": "document",
          "accept": [
            "text/plain", "text/markdown",
            "application/json", "application/pdf",
            ".md", ".txt", ".json", ".pdf"
          ]
        }
      ]
    }
  },
  "edge_side_panel": {
    "preferred_width": 400
  },
  "handle_links": "preferred",
  "scope_extensions": [
    { "type": "origin", "origin": "https://api.rmedia.id" },
    { "type": "origin", "origin": "https://cdn.rmedia.id" },
    { "type": "origin", "origin": "https://auth.rmedia.id" }
  ],
  "note_taking": {
    "new_note_url": "/notes/new"
  },
  "tab_strip": {
    "home_tab": {
      "url": "/",
      "icons": [
        {
          "src": "/icons/icon-32x32.png",
          "sizes": "32x32",
          "type": "image/png"
        }
      ]
    },
    "new_tab_url": "/notes/new"
  },
  "widgets": [
    {
      "name": "Quick Note Widget",
      "short_name": "Quick Note",
      "description": "Create a quick note from your home screen",
      "tag": "quick-note",
      "ms_ac_template": "/widgets/quick-note-template.json",
      "data": "/widgets/quick-note-data.json",
      "type": "application/json",
      "screenshots": [
        {
          "src": "/screenshots/widget-quick-note.png",
          "sizes": "600x400",
          "type": "image/png",
          "label": "Quick Note Widget"
        }
      ],
      "icons": [
        {
          "src": "/icons/icon-192x192.png",
          "sizes": "192x192",
          "type": "image/png"
        }
      ],
      "backgrounds": [
        {
          "src": "/icons/widget-bg.png",
          "sizes": "600x400",
          "type": "image/png"
        }
      ],
      "update_url": "/api/widgets/quick-note",
      "auth": false,
      "multiple": false
    },
    {
      "name": "Notes Summary",
      "short_name": "Notes",
      "description": "See a summary of your recent notes",
      "tag": "notes-summary",
      "ms_ac_template": "/widgets/notes-summary-template.json",
      "data": "/api/widgets/notes-summary",
      "type": "application/json",
      "screenshots": [
        {
          "src": "/screenshots/widget-notes.png",
          "sizes": "600x400",
          "type": "image/png",
          "label": "Notes Summary Widget"
        }
      ],
      "icons": [
        {
          "src": "/icons/icon-192x192.png",
          "sizes": "192x192",
          "type": "image/png"
        }
      ],
      "update_url": "/api/widgets/notes-summary",
      "auth": true,
      "multiple": false
    }
  ]
}