title: Universal Links iOS
body: <p>I am having some trouble in getting Universal links on my app working. Here are the things that i have already done. </p>
  
  <p>-- Created my <code>apple-app-site-association</code> file. Here is my file</p>
  
  <pre><code>{
  
      "applinks": {
                  "apps": [],
                  "details": [{
                      "appID": "XXXXXXXXXX.com.companyName.app",
                      "paths": ["/view/*", "/class/*"]
                  }]
              }
  }
  </code></pre>
  
  <p>I have not signed my file and i set my project deployment target to iOS 9.2 (so that i don't have to sign this file).</p>
  
  <p>-- Added the associated domain in my project capabilities</p>
  
  <pre><code>applinks:companyName.com
  applinks:www.companyName.com
  </code></pre>
  
  <p>-- Associated domains are also enabled in my developer portal</p>
  
  <p>-- Updated the provisioning profiles and used the new ones</p>
  
  <p>-- Added the entitlement to the build.</p>
  
  <p>-- Overrided this delegate method</p>
  
  <p><code>- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray *))restorationHandler</code></p>
  
  <p>The file is available from my HTTPS server and i checked the universal links status from this apple validator. <a href="https://search.developer.apple.com/appsearch-validation-tool/" rel="nofollow">https://search.developer.apple.com/appsearch-validation-tool/</a> The validator is validating this. But when i click on the link which is in iMessage and the link is like companyName.com/view/7375, then it will open in safari and my app does not get any call back.</p>
  
  <p>Any idea what i am missing</p>