From 0cf1cc4498f3e8b90a8a1f182b75b979a84810d8 Mon Sep 17 00:00:00 2001 From: Jeppe Bundgaard Date: Wed, 21 Jan 2026 09:05:59 +0100 Subject: [PATCH] Update TWA manifest with new configurations, asset links, and updated app version --- public/.well-known/assetlinks.json | 12 ++++++++ twa-manifest.json | 47 +++++++++++++++++++++--------- 2 files changed, 46 insertions(+), 13 deletions(-) create mode 100644 public/.well-known/assetlinks.json diff --git a/public/.well-known/assetlinks.json b/public/.well-known/assetlinks.json new file mode 100644 index 00000000..c9bc1e09 --- /dev/null +++ b/public/.well-known/assetlinks.json @@ -0,0 +1,12 @@ +[ + { + "relation": ["delegate_permission/common.handle_all_urls"], + "target": { + "namespace": "android_app", + "package_name": "io.truckwash.twa", + "sha256_cert_fingerprints": [ + "29:56:F7:8D:BD:A0:2E:A9:32:82:97:28:A3:E2:65:16:23:73:DD:2C:16:F6:7A:97:AD:63:27:14:5C:8C:FB:89" + ] + } + } +] diff --git a/twa-manifest.json b/twa-manifest.json index 0fe48391..a2c4bc3b 100644 --- a/twa-manifest.json +++ b/twa-manifest.json @@ -3,26 +3,47 @@ "host": "truckwash.io", "name": "Truck Wash", "launcherName": "Truck Wash", - "displayMode": "standalone", + "display": "standalone", "themeColor": "#063651", - "backgroundColor": "#0787bb", + "themeColorDark": "#000000", + "navigationColor": "#000000", + "navigationColorDark": "#000000", + "navigationDividerColor": "#000000", + "navigationDividerColorDark": "#000000", + "backgroundColor": "#0787BB", + "enableNotifications": true, "startUrl": "/", - "iconUrl": "https://truckwash.io/favicons/web-app-manifest-512x512.png", - "maskableIconUrl": "https://truckwash.io/favicons/web-app-manifest-512x512.png", + "iconUrl": "https://truckwash.io/icons/icon-512x512.png", "splashScreenFadeOutDuration": 300, "signingKey": { - "path": "./android.keystore", + "path": "C:\\Users\\2jepp\\WebstormProjects\\pleno-vue\\android.keystore", "alias": "android" }, - "appVersionCode": 1, - "appVersionName": "1.0.0", + "appVersionName": "2", + "appVersionCode": 2, + "shortcuts": [], "generatorApp": "bubblewrap-cli", - "webManifestUrl": "https://truckwash.io/manifest.json", + "webManifestUrl": "https://truckwash.io/manifest.webmanifest", "fallbackType": "customtabs", - "enableNotifications": true, + "features": { + "locationDelegation": { + "enabled": true + } + }, + "alphaDependencies": { + "enabled": false + }, "enableSiteSettingsShortcut": true, - "isRtl": false, + "isChromeOSOnly": false, + "isMetaQuest": false, + "fullScopeUrl": "https://truckwash.io/", + "minSdkVersion": 21, "orientation": "portrait", - "thumbnails": false, - "shareTarget": false -} + "fingerprints": [], + "additionalTrustedOrigins": [], + "retainedBundles": [], + "protocolHandlers": [], + "fileHandlers": [], + "launchHandlerClientMode": "navigate-existing", + "appVersion": "2" +} \ No newline at end of file