From e1f14d9c48c2684879dc7623346c9cb813ce99ce Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 31 Aug 2026 22:14:48 +0200 Subject: [PATCH] fix(boss-dashboard): make /m installable as a PWA manifest-mobile.json had an empty icons array, which blocks Chrome's install prompt entirely. Point it at the existing android-chrome 192/512 icons and override appleWebApp.title to "Boss" so iOS Add-to-Home-Screen matches the manifest's short_name instead of inheriting the root layout's "WFDASH". Co-Authored-By: Claude Sonnet 5 --- public/manifest-mobile.json | 15 ++++++++++++++- src/app/(mobile)/m/layout.tsx | 5 +++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/public/manifest-mobile.json b/public/manifest-mobile.json index 3d9507c..b0e0310 100644 --- a/public/manifest-mobile.json +++ b/public/manifest-mobile.json @@ -8,5 +8,18 @@ "orientation": "portrait", "background_color": "#0b1020", "theme_color": "#0b1020", - "icons": [] + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any" + } + ] } diff --git a/src/app/(mobile)/m/layout.tsx b/src/app/(mobile)/m/layout.tsx index 4f47bba..1fd67b3 100644 --- a/src/app/(mobile)/m/layout.tsx +++ b/src/app/(mobile)/m/layout.tsx @@ -9,6 +9,11 @@ export const metadata: Metadata = { icons: { apple: "/apple-touch-icon.png", }, + appleWebApp: { + capable: true, + statusBarStyle: "default", + title: "Boss", + }, }; export const viewport: Viewport = {