In an iOS app I am working on I have setup Associated Domains (Universal Links). The app hosts multiple domains. Some domains I have set up with a wildcard. These domains do
It seems that adding a wildcard in the domain part of the applinks
has only been introduced in iOS 9.3 Beta 2
. In 9.3 Beta 2 release notes:
You can now use Universal Links with arbitrary subdomains instead of needing to list all of the app’s subdomains as fully qualified domain names. Entries have the form:
:[:port number] in which is “webcredentials”, “activitycontinuation”, or “applinks”.
The part of the entry can now optionally be prefixed with “*.” to indicate a wildcard subdomain. For example:
applinks:*.example.com
You say that you run on iOS 9.3.2
. But is your deployment target
>= iOS 9.3
? If it's not: try by changing it. I think it will solve your issue.
Here you can found a copy of this release notes (sorry, I do not have any other public source)
Edit:
Even if the Apple Doc say that you can use wildcards on domains, they seems to have an issue on this:
To match all subdomains of an associated domain, you can specify a wildcard by prefixing . before the beginning of a specific domain (the period is required). Domain matching is based on the longest substring in the applinks entries. For example, if you specify the entries applinks:.mywebsite.com and applinks:*.users.mywebsite.com, matching for the domain emily.users.mywebsite.com is performed against the longer *.users.mywebsite.com entry. Note that an entry for *.mywebsite.com does not match mywebsite.com because of the period after the asterisk. To enable matching for both *.mywebsite.com and mywebsite.com, you need to provide a separate applinks entry for each.