From a7a08d59e5aa34c20521ad3dd9f2e55241992621 Mon Sep 17 00:00:00 2001 From: Mario Gliwa Date: Sat, 9 Mar 2024 15:48:34 +0100 Subject: [PATCH 1/2] chore/add .well-known files --- public/.well-known/apple-app-site-association | 38 +++++++++++++++++++ public/.well-known/assetlinks.json | 12 ++++++ 2 files changed, 50 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..91c8e238 --- /dev/null +++ b/public/.well-known/apple-app-site-association @@ -0,0 +1,38 @@ +{ + "applinks": { + "details": [ + { + "appIDs": [ "ABCDE12345.com.example.app", "ABCDE12345.com.example.app2" ], + "components": [ + { + "#": "no_universal_links", + "exclude": true, + "comment": "Matches any URL with a fragment that equals no_universal_links and instructs the system not to open it as a universal link." + }, + { + "/": "/buy/*", + "comment": "Matches any URL with a path that starts with /buy/." + }, + { + "/": "/help/website/*", + "exclude": true, + "comment": "Matches any URL with a path that starts with /help/website/ and instructs the system not to open it as a universal link." + }, + { + "/": "/help/*", + "?": { "articleNumber": "????" }, + "comment": "Matches any URL with a path that starts with /help/ and that has a query item with name 'articleNumber' and a value of exactly four characters." + } + ] + } + ] + }, + "webcredentials": { + "apps": [ "ABCDE12345.com.example.app" ] + }, + + + "appclips": { + "apps": ["ABCED12345.com.example.MyApp.Clip"] + } +} diff --git a/public/.well-known/assetlinks.json b/public/.well-known/assetlinks.json new file mode 100644 index 00000000..de78d5f7 --- /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": "online.binarapps", + "sha256_cert_fingerprints": [ + "B9:77:35:F2:94:7B:EC:53:F9:60:5F:32:1C:12:5C:E9:4E:27:9E:E2:A7:EE:6F:62:A4:77:21:98:AD:11:2A:B1" + ] + } + } +] From 305ec7fcd62649f7bda27c6df1ef5c25a877bd4c Mon Sep 17 00:00:00 2001 From: Mario Gliwa Date: Sat, 9 Mar 2024 16:18:41 +0100 Subject: [PATCH 2/2] chore/change appID in .well-known --- public/.well-known/apple-app-site-association | 76 ++++++++++--------- 1 file changed, 41 insertions(+), 35 deletions(-) diff --git a/public/.well-known/apple-app-site-association b/public/.well-known/apple-app-site-association index 91c8e238..d7756d9b 100644 --- a/public/.well-known/apple-app-site-association +++ b/public/.well-known/apple-app-site-association @@ -1,38 +1,44 @@ { "applinks": { - "details": [ - { - "appIDs": [ "ABCDE12345.com.example.app", "ABCDE12345.com.example.app2" ], - "components": [ - { - "#": "no_universal_links", - "exclude": true, - "comment": "Matches any URL with a fragment that equals no_universal_links and instructs the system not to open it as a universal link." - }, - { - "/": "/buy/*", - "comment": "Matches any URL with a path that starts with /buy/." - }, - { - "/": "/help/website/*", - "exclude": true, - "comment": "Matches any URL with a path that starts with /help/website/ and instructs the system not to open it as a universal link." - }, - { - "/": "/help/*", - "?": { "articleNumber": "????" }, - "comment": "Matches any URL with a path that starts with /help/ and that has a query item with name 'articleNumber' and a value of exactly four characters." - } - ] - } - ] - }, - "webcredentials": { - "apps": [ "ABCDE12345.com.example.app" ] - }, - - - "appclips": { - "apps": ["ABCED12345.com.example.MyApp.Clip"] - } + "details": [ + { + "appIDs": [ + "ABCDE12345.online.binarapps" + ], + "components": [ + { + "#": "no_universal_links", + "exclude": true, + "comment": "Matches any URL with a fragment that equals no_universal_links and instructs the system not to open it as a universal link." + }, + { + "/": "/buy/*", + "comment": "Matches any URL with a path that starts with /buy/." + }, + { + "/": "/help/website/*", + "exclude": true, + "comment": "Matches any URL with a path that starts with /help/website/ and instructs the system not to open it as a universal link." + }, + { + "/": "/help/*", + "?": { + "articleNumber": "????" + }, + "comment": "Matches any URL with a path that starts with /help/ and that has a query item with name 'articleNumber' and a value of exactly four characters." + } + ] + } + ] + }, + "webcredentials": { + "apps": [ + "ABCDE12345.online.binarapps" + ] + }, + "appclips": { + "apps": [ + "ABCED12345.online.binarapps" + ] + } }