From a7104e204b157d755a4a4285063a20b65653772f Mon Sep 17 00:00:00 2001 From: daylily Date: Thu, 15 Jan 2026 17:54:34 -0400 Subject: [PATCH] Add a TWA --- webapp/public/.well-known/assetlinks.json | 12 ++++++ webapp/twa/twa-manifest.json | 51 +++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 webapp/public/.well-known/assetlinks.json create mode 100644 webapp/twa/twa-manifest.json diff --git a/webapp/public/.well-known/assetlinks.json b/webapp/public/.well-known/assetlinks.json new file mode 100644 index 0000000..6bd2f5b --- /dev/null +++ b/webapp/public/.well-known/assetlinks.json @@ -0,0 +1,12 @@ +[ + { + "relation": ["delegate_permission/common.handle_all_urls"], + "target": { + "namespace": "android_app", + "package_name": "at.nightcord.inkclip.twa", + "sha256_cert_fingerprints": [ + "B4:48:E2:E3:32:0D:FA:1B:C3:94:7D:F7:0D:03:6B:E4:6C:79:B4:AA:A6:07:F6:3C:AF:BE:1E:B0:FA:65:29:0B" + ] + } + } +] diff --git a/webapp/twa/twa-manifest.json b/webapp/twa/twa-manifest.json new file mode 100644 index 0000000..d871a3c --- /dev/null +++ b/webapp/twa/twa-manifest.json @@ -0,0 +1,51 @@ +{ + "packageId": "at.nightcord.inkclip.twa", + "host": "inkclip.dayli.ly", + "name": "Write to Inkclip", + "launcherName": "Inkclip", + "display": "standalone", + "themeColor": "#141211", + "themeColorDark": "#000000", + "navigationColor": "#000000", + "navigationColorDark": "#000000", + "navigationDividerColor": "#000000", + "navigationDividerColorDark": "#000000", + "backgroundColor": "#FFFFFF", + "enableNotifications": true, + "startUrl": "/", + "iconUrl": "https://inkclip.dayli.ly/pwa-512x512.png", + "maskableIconUrl": "https://inkclip.dayli.ly/maskable-icon-512x512.png", + "splashScreenFadeOutDuration": 300, + "signingKey": { + "path": "/home/daylily/Code/inkclip/webapp/twa/android.keystore", + "alias": "android" + }, + "appVersionName": "2", + "appVersionCode": 2, + "shortcuts": [], + "generatorApp": "bubblewrap-cli", + "webManifestUrl": "https://inkclip.dayli.ly/manifest.webmanifest", + "fallbackType": "customtabs", + "features": {}, + "alphaDependencies": { + "enabled": false + }, + "enableSiteSettingsShortcut": true, + "isChromeOSOnly": false, + "isMetaQuest": false, + "fullScopeUrl": "https://inkclip.dayli.ly/", + "minSdkVersion": 21, + "orientation": "default", + "fingerprints": [ + { + "value": "B4:48:E2:E3:32:0D:FA:1B:C3:94:7D:F7:0D:03:6B:E4:6C:79:B4:AA:A6:07:F6:3C:AF:BE:1E:B0:FA:65:29:0B" + } + ], + "additionalTrustedOrigins": [], + "retainedBundles": [], + "protocolHandlers": [], + "fileHandlers": [], + "launchHandlerClientMode": "", + "displayOverride": [], + "appVersion": "2" +} \ No newline at end of file