title: ios: Universal links not working on iOS 10
body: <p>I'm trying to integrate universal links in my iOS app. So whenever someone taps on <code>&lt;myapp&gt;.herokuapp.com/content</code> gets redirected directly to app. I followed <a href="https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/Handoff/AdoptingHandoff/AdoptingHandoff.html#//apple_ref/doc/uid/TP40014338-CH2-SW10" rel="noreferrer">this</a> guide for setup. I did the following setup but cannot get it working. I also checked other threads on stackoverflow but none of them solved the issue.</p>
  
  <ul>
  <li>Added Associated Domains in Capabilities Tab on my app's target. Added two domains: <code>activitycontinuation:&lt;myapp&gt;.herokuapp.com</code> and <code>applinks:&lt;myapp&gt;.herokuapp.com</code>.</li>
  <li>In Build Phases > Copy Bundle Resources added the file .entitlements.</li>
  <li>Got teamId from <a href="https://developer.apple.com/account/#/membership" rel="noreferrer">https://developer.apple.com/account/#/membership</a></li>
  <li><p>On my website added a route for <code>apple-app-site-association</code> at <code>https://&lt;myapp&gt;.herokuapp.com/apple-app-site-association</code> which returns the following json:</p>
  
  <pre><code>{
      "applinks": {
          "apps": [],
          "details": [
              {
                  "appID": "&lt;teamId&gt;.&lt;bundleId&gt;.dev",
                  "paths": [ "*" ]
              },
              {
                  "appID": "&lt;teamId&gt;.&lt;bundleId&gt;",
                  "paths": [ "*" ]
              }
          ]
      },
      "activitycontinuation": {
          "apps": [
              "&lt;teamId&gt;.&lt;bundleId&gt;.dev",
              "&lt;teamId&gt;.&lt;bundleId&gt;"
          ]
      }
  }
  </code></pre></li>
  <li><p>Installed app from Xcode to iPhone 6s Plus (physical device) with bundle id <code>&lt;bundleId&gt;.dev</code> and copied link <code>https://&lt;myapp&gt;.herokuapp.com/content</code> to Notes but it opens in Safari.</p></li>
  </ul>