From 36845f5e0d84112fd00fc643db3635d131b07ea0 Mon Sep 17 00:00:00 2001 From: Alvaro Bautista <67112345+alvrba@users.noreply.github.com> Date: Thu, 20 Jul 2023 17:35:29 +0200 Subject: [PATCH] fix: add graasp-mobile-builder-app deep-links verification (#127) --------- Co-authored-by: spaenleh --- public/.well-known/apple-app-site-association | 23 +++++++++++++++++++ public/.well-known/assetlinks.json | 12 ++++++++++ 2 files changed, 35 insertions(+) create mode 100644 public/.well-known/apple-app-site-association create mode 100644 public/.well-known/assetlinks.json diff --git a/public/.well-known/apple-app-site-association b/public/.well-known/apple-app-site-association new file mode 100644 index 00000000..3173cb8a --- /dev/null +++ b/public/.well-known/apple-app-site-association @@ -0,0 +1,23 @@ +{ + "applinks": { + "details": [ + { + "appIDs": [ + "66RNQ59XM2.org.graasp.mobile" + ], + "components": [ + { + "/": "/auth/*", + "comment": "Matches any URL whose path starts with /auth/" + } + ] + }, + { + "appID": "66RNQ59XM2.org.graasp.mobile", + "paths": [ + "/auth/*" + ] + } + ] + } +} diff --git a/public/.well-known/assetlinks.json b/public/.well-known/assetlinks.json new file mode 100644 index 00000000..6699a985 --- /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": "org.graasp.mobile", + "sha256_cert_fingerprints": [ + "4C:B7:34:EC:44:C6:D9:AD:A3:D7:87:F1:0F:AC:21:10:86:61:DF:AA:E1:64:40:E0:98:06:26:F2:FE:DA:08:9D" + ] + } + } +]