title: Universal Link is not working on properly on iOS 13 (AASA not downloaded)
body: <p>Universal Link was working fine on iOS 12 but I ran into issues when I updated to iOS 13.1 yesterday. URLs that's supposed to open the app when tapped are just opening up in the browser.
  Some users on iOS 13 reported the same thing.</p>
  
  <p>Again, I never had this issue on iOS 12.4</p>
  
  <p>I believe AASA file is not being downloaded properly.
  I tried tapping on <code>Open</code> from the banner that appears on top of Safari when I land on one of my urls. This didn't help.</p>
  
  <p>Sometimes it worked fine after few re-installs and reboots but when you re-install again it stops working.</p>
  
  <p>I found this blog post <a href="https://ios13.dev/universal-links-debugging-on-ios-13-cjwsux93w001p6ws1swtstmzc" rel="noreferrer">https://ios13.dev/universal-links-debugging-on-ios-13-cjwsux93w001p6ws1swtstmzc</a>
  which describes viewing of the logs. </p>
  
  <p>I exported sysdiagnose and my swcutil_show.txt shows this for my app</p>
  
  <pre><code>Service:              applinks
  App ID:               (my app ID)
  App Version:          102
  Domain:               (app.myurl.com)
  User Approval:        unspecified
  Site/Fmwk Approval:   unspecified
  Flags:                
  Last Checked:         2019-09-26 00:48:24 +0000
  Next Check:           2019-09-30 23:51:38 +0000
  </code></pre>
  
  <p>while other apps looks like this</p>
  
  <pre><code>Service:              applinks
  App ID:               ZL6BUSYGB3.com.apple.news
  App Version:          2300.5
  Domain:               news.apple.com
  Patterns:             {"/":"*"}
  User Approval:        unspecified
  Site/Fmwk Approval:   approved
  Flags:                systemApplication
  Last Checked:         2019-09-25 18:45:50 +0000
  Next Check:           2019-09-30 17:49:04 +0000
  </code></pre>
  
  <p>For some reason it's missing the <code>Patterns</code> (from AASA) and <code>Site/Fmwk Approval</code> is <code>unspecified</code>.</p>
  
  <p>I also tried exporting sysdiagnose when universal link was working after several reinstalled and reboots. My app did have something for <code>Patterns</code> with <code>Site/Fmwk Approval approved</code></p>
  
  <p>Had anyone run into similar issues on iOS 13?
  Any help is highly appreciated</p>