Fix the apple-app-site-association file. (#339)
It now matches https://developer.apple.com/documentation/bundleresources/applinks
This commit is contained in:
parent
657fd9cc1a
commit
6928941868
1 changed files with 11 additions and 8 deletions
|
@ -127,14 +127,17 @@ function buildAppleAssociatedAppsFile(clients) {
|
|||
const appIds = clients.map(c => c.appleAssociatedAppId).flat().filter(id => !!id);
|
||||
return JSON.stringify({
|
||||
"applinks": {
|
||||
"details": {
|
||||
"details": [
|
||||
{
|
||||
appIDs: appIds,
|
||||
components: [
|
||||
{
|
||||
"#": "/*", // only open urls with a fragment, so you can still create links
|
||||
"#": "/*",
|
||||
"comment": "Only open urls with a fragment, so you can still create links"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue