We’re trying to enable deep links for our application com.remonon.remonon. Only links that start with https://remonon.com/app/ should redirect to our app.
I’ve closely followed the tutorial at https://developer.apple.com/documentation/xcode/supporting-associated-domains.
Our apple-app-site-association is correctly placed at https://remonon.com/.well-known/apple-app-site-association and looks like this:
{
"applinks": {
"details": [
{
"appIDs": [
"25N8TLPALL.com.remonon.remonon"
],
"components": [
{
"/": "/app/*",
"comment": "Only URLs under /app/ will be handled as deep links"
}
]
}
]
},
"webcredentials": {
"apps": [
"25N8TLPALL.com.remonon.remonon"
]
}
}
Our *.entitlements looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>production</string>
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:remonon.com</string>
<string>webcredentials:remonon.com</string>
</array>
<key>com.apple.developer.default-data-protection</key>
<string>NSFileProtectionComplete</string>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.remonon.remonon</string>
</array>
</dict>
</plist>
Our apple-app-site-association was published two weeks ago to make sure apple’s caches were able to catch up in the meantime.
Still, opening the link https://remonon.com/app/test on a real device with our app installed does not open our app but safari.
A while ago, when all remonon.com-urls should open our app instead of only those which have the "app" path prefix, the deep links was working perfectly fine.
What am I missing?
Thank you for your post. After reviewing your configuration, it appears that your AASA files and server are functioning correctly. However, in your entitlement, you have omitted the “applinks” section that should be included within the application itself.
https://developer.apple.com/documentation/technotes/tn3155-debugging-universal-links#Understand-applinks-configuration-and-rules
Could you please provide instructions on how to configure the application link in Xcode?
Should be something like this:
From https://developer.apple.com/documentation/xcode/supporting-associated-domains
To troubleshoot the issue, I recommend following the Universal Links troubleshooting guide. This guide will provide you with a step-by-step process to identify the problem, ensuring that it is not the application missing from the Xcode configuration.
Albert Pascual Worldwide Developer Relations.