From c167f594b95eb212c327bd70a4412900aa89a44f Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Mon, 5 Dec 2022 11:28:22 +0000 Subject: [PATCH] website: add .well-known folder to allow mobile apps process URLs --- website/.eleventy.js | 1 + .../.well-known/apple-app-site-association | 25 +++++++++++++++++++ website/src/.well-known/assetlinks.json | 14 +++++++++++ 3 files changed, 40 insertions(+) create mode 100644 website/src/.well-known/apple-app-site-association create mode 100644 website/src/.well-known/assetlinks.json diff --git a/website/.eleventy.js b/website/.eleventy.js index e30c61a46f..7c12bbdf7d 100644 --- a/website/.eleventy.js +++ b/website/.eleventy.js @@ -26,6 +26,7 @@ module.exports = function (ty) { ty.addPassthroughCopy("src/blog/images") ty.addPassthroughCopy("src/images") ty.addPassthroughCopy("src/CNAME") + ty.addPassthroughCopy("src/.well-known") ty.addCollection('blogs', function (collection) { return collection.getFilteredByGlob('src/blog/*.md').reverse() diff --git a/website/src/.well-known/apple-app-site-association b/website/src/.well-known/apple-app-site-association new file mode 100644 index 0000000000..956e006f25 --- /dev/null +++ b/website/src/.well-known/apple-app-site-association @@ -0,0 +1,25 @@ +{ + "applinks": { + "details": [ + { + "appIDs": [ + "5NN7GUYB6.chat.simplex.app" + ], + "components": [ + { + "/": "/contact/*" + }, + { + "/": "/contact" + }, + { + "/": "/invitation/*" + }, + { + "/": "/invitation" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/website/src/.well-known/assetlinks.json b/website/src/.well-known/assetlinks.json new file mode 100644 index 0000000000..03c344f883 --- /dev/null +++ b/website/src/.well-known/assetlinks.json @@ -0,0 +1,14 @@ +[ + { + "relation": [ + "delegate_permission/common.handle_all_urls" + ], + "target": { + "namespace": "android_app", + "package_name": "chat.simplex.app", + "sha256_cert_fingerprints": [ + "5E:3E:DC:C2:00:FB:A8:D5:F4:88:F3:CA:4C:32:5B:05:78:C5:6A:9C:03:A1:CC:B5:92:9C:D7:5C:7E:57:E2:4D" + ] + } + } +]