apple-app-site-association never requested

I'm using cordova-universal-links in a mobile app. They're working fine on the Android side, but nothing is happening on iOS. Here's a rundown of everything so far:


  • It is being served over HTTPS
  • It is valid JSON
  • It is not behind any redirect
  • The app's certificate does have Associated Domains enabled
  • The app does have this domain in its
    .entitlements
    file
  • The app has not ever been released yet


I'm not sure if Test Flight has anything to do with it, but from tailing server logs, the

apple-app-site-association
file is never requested. Not when installing the app, not when navigating to the page from a link in Safari, not when navigating to the page from a link in Mail.


This is both on device and in the simulator.


I am at a complete loss here.


Some screenshots:


cURL showing

application/json
and non-redirect status:

https://i.stack.imgur.com/8yqBo.png


.entitlements
file in Xcode:

https://i.stack.imgur.com/rfVVl.png


Associated Domains in Xcode:

https://i.stack.imgur.com/F9oCa.png


Associated Domains enabled in Developer Center:

https://i.stack.imgur.com/PohML.png


AASA Validator from Branch.io:

https://i.stack.imgur.com/7BbHP.png

So I've gotten universal links working, sometimes. It seems only when developing, using XCode to push to device / simulator (the command-line cordova run ios doesn't seem to work). Unfortunately, even with the app released in the app store, it's not requesting apple-app-site-association, and universal links aren't working.

apple-app-site-association never requested
 
 
Q