From a4925224d4e3df5a21cd8d173606d4f54ae6b4cc Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 7 Sep 2022 12:16:40 -0500 Subject: [PATCH] Add Android asset links to support app intents (`/.well-known/assetlinks.json`) (#1431) Add Android asset links to support app intents (opening `app.element.io` will open the Android app when installed): `/.well-known/assetlinks.json` Fix https://github.com/matrix-org/matrix-ansible-private/issues/5223 which unblocks https://github.com/vector-im/element-android/pull/6225 to solve https://github.com/vector-im/element-android/issues/5748 --- content/.well-known/assetlinks.json | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 content/.well-known/assetlinks.json diff --git a/content/.well-known/assetlinks.json b/content/.well-known/assetlinks.json new file mode 100644 index 000000000..6f53d6015 --- /dev/null +++ b/content/.well-known/assetlinks.json @@ -0,0 +1,32 @@ +[ + { + "relation": ["delegate_permission/common.handle_all_urls"], + "target": { + "namespace": "android_app", + "package_name": "im.vector.app.debug", + "sha256_cert_fingerprints": [ + "B0:B0:51:DC:56:5C:81:2F:E1:7F:6F:3E:94:5B:4D:79:04:71:23:AB:0D:A6:12:86:76:9E:B2:94:91:97:13:0E" + ] + } + }, + { + "relation": ["delegate_permission/common.handle_all_urls"], + "target": { + "namespace": "android_app", + "package_name": "im.vector.app.nightly", + "sha256_cert_fingerprints": [ + "CA:D3:85:16:84:3A:05:CC:EB:00:AB:7B:D3:80:0F:01:BA:8F:E0:4B:38:86:F3:97:D8:F7:9A:1B:C4:54:E4:0F" + ] + } + }, + { + "relation": ["delegate_permission/common.handle_all_urls"], + "target": { + "namespace": "android_app", + "package_name": "im.vector.app", + "sha256_cert_fingerprints": [ + "F3:FF:38:D2:E5:A6:38:84:86:4A:4E:0D:45:C5:3B:19:8E:7E:39:C0:50:5B:D9:63:F5:55:D6:53:2D:EA:BF:5F" + ] + } + } +]