From 9dd5cca7df0d8b9185602041d163c2e564060abf Mon Sep 17 00:00:00 2001 From: beatz174-bit Date: Sun, 23 Nov 2025 11:38:10 +1000 Subject: [PATCH] Add TWA signing fingerprint and asset links --- public/.well-known/assetlinks.json | 14 ++++++++++++++ twa-manifest.json | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) 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 0000000..4cbdc75 --- /dev/null +++ b/public/.well-known/assetlinks.json @@ -0,0 +1,14 @@ +[ + { + "relation": [ + "delegate_permission/common.handle_all_urls" + ], + "target": { + "namespace": "android_app", + "package_name": "com.ddnsgeek.lan.stockfill.twa", + "sha256_cert_fingerprints": [ + "E9:9D:1B:C9:75:3E:CF:5B:8B:CF:3D:92:26:82:C5:CE:06:7E:8B:FC:DC:9D:61:C0:04:B4:C4:9D:76:08:ED:AF" + ] + } + } +] diff --git a/twa-manifest.json b/twa-manifest.json index e91231e..febc0c3 100644 --- a/twa-manifest.json +++ b/twa-manifest.json @@ -35,7 +35,12 @@ "fullScopeUrl": "https://stockfill.lan.ddnsgeek.com/", "minSdkVersion": 21, "orientation": "any", - "fingerprints": [], + "fingerprints": [ + { + "type": "sha256_cert", + "value": "E9:9D:1B:C9:75:3E:CF:5B:8B:CF:3D:92:26:82:C5:CE:06:7E:8B:FC:DC:9D:61:C0:04:B4:C4:9D:76:08:ED:AF" + } + ], "additionalTrustedOrigins": [], "retainedBundles": [], "protocolHandlers": [],