Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,13 @@ yarn lint:fix
- [Remark](https://github.com/remarkjs/remark) - Markdown processor
- [ESLint](https://eslint.org/) - JavaScript linter
- [Prettier](https://prettier.io/) - Code formatter

## Mold app links

`public/.well-known/apple-app-site-association` authorizes the native Companion
and Tauri iOS bundle IDs for `/mold/pair`. `assetlinks.json` authorizes Android
package `com.utensils.mold` using the release signing certificate (SHA-256
extracted from the published Mold v0.34.0 APK signing block and checked with
OpenSSL). Update the association when the release signing key rotates; do not
include development certificates. Pairing secrets remain in URL fragments.
The deployment artifact must include hidden files to publish these records.
7 changes: 5 additions & 2 deletions public/.well-known/apple-app-site-association
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
"applinks": {
"details": [
{
"appIDs": ["28X9H69QGE.io.utensils.mold.companion"],
"appIDs": [
"28X9H69QGE.io.utensils.mold.companion",
"28X9H69QGE.com.utensils.mold"
],
"components": [
{
"/": "/mold/pair",
"comment": "Mold Studio Companion pairing codes; the code rides in the fragment"
"comment": "Mold native and Tauri secure pairing; private invitation stays in the fragment"
},
{
"/": "/mold/pair/",
Expand Down
14 changes: 14 additions & 0 deletions public/.well-known/assetlinks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.utensils.mold",
"sha256_cert_fingerprints": [
"B9:50:01:B1:70:A0:1E:12:01:3A:DD:E9:65:E8:3D:A5:1C:1F:54:D3:71:A2:32:B9:DA:49:44:50:E1:CA:BE:2E"
]
}
}
]
Loading