Skip to content

Send files directly between devices over the internet - no cloud storage, no size limits.

open web receive links directly in the mobile app

Denis Lupookov4591ab45ca2e
diff --git a/apps/mobile/app.json b/apps/mobile/app.json
index d8aba7b..a2947ee 100644
--- a/apps/mobile/app.json
+++ b/apps/mobile/app.json
@@ -64,7 +64,7 @@
}
]
},
- "associatedDomains": ["applinks:altersend.com"]
+ "associatedDomains": ["applinks:altersend.com", "applinks:app.altersend.com"]
},
"android": {
"adaptiveIcon": {
@@ -97,6 +97,11 @@
"scheme": "https",
"host": "altersend.com",
"pathPrefix": "/r"
+ },
+ {
+ "scheme": "https",
+ "host": "app.altersend.com",
+ "pathPrefix": "/r"
}
],
"category": ["BROWSABLE", "DEFAULT"]
diff --git a/apps/web/public/.well-known/apple-app-site-association b/apps/web/public/.well-known/apple-app-site-association
new file mode 100644
index 0000000..03b518f
--- /dev/null
+++ b/apps/web/public/.well-known/apple-app-site-association
@@ -0,0 +1,6 @@
+{
+ "applinks": {
+ "apps": [],
+ "details": [{ "appID": "XSN9V8JZ75.com.altersend.mobile", "paths": ["/r", "/r/*"] }]
+ }
+}
diff --git a/apps/web/public/.well-known/assetlinks.json b/apps/web/public/.well-known/assetlinks.json
new file mode 100644
index 0000000..de8ea6c
--- /dev/null
+++ b/apps/web/public/.well-known/assetlinks.json
@@ -0,0 +1,13 @@
+[
+ {
+ "relation": ["delegate_permission/common.handle_all_urls"],
+ "target": {
+ "namespace": "android_app",
+ "package_name": "com.altersend.mobile",
+ "sha256_cert_fingerprints": [
+ "E9:82:E0:B0:4E:85:28:73:F9:4B:E3:5C:4E:B7:BB:92:9D:50:33:CD:27:FB:6F:53:B3:5E:87:95:31:03:D7:5A",
+ "FA:C6:17:45:DC:09:03:78:6F:B9:ED:E6:2A:96:2B:39:9F:73:48:F0:BB:6F:89:9B:83:32:66:75:91:03:3B:9C"
+ ]
+ }
+ }
+]
diff --git a/apps/web/public/_headers b/apps/web/public/_headers
index 4a79b8c..c35922a 100644
--- a/apps/web/public/_headers
+++ b/apps/web/public/_headers
@@ -4,3 +4,8 @@
Cache-Control: no-cache
/assets/*
Cache-Control: public, max-age=31536000, immutable
+/.well-known/apple-app-site-association
+ Content-Type: application/json
+ Cache-Control: public, max-age=3600
+/.well-known/assetlinks.json
+ Cache-Control: public, max-age=3600