Web to iOS Handoff not working with subdomains

479 views Asked by At

I'm setting up handoff from website to iOS and I'm struggling with the following issue. Website URL has usernames as subdomains: username1.domain.com. On the iOS app's part I have to specify fully qualified domain name in entitlements:

The native app on the receiving device must opt into this behavior by claiming a domain in the com.apple.developer.associated-domains entitlement. The value of that entitlement has the format 'service':'fully qualified domain name', for example, activitycontinuation:example.com.

The problem is that if I specify activitycontinuation:domain.com and user is browsing at username1.domain.com, iOS doesn't recognise this as domain claimed by my app. If I specify username1.domain.com explicitely in entitlements, handoff works only for username1.domain.com. Is there a way to make this work for *.domain.com ?

0

There are 0 answers