title: Android M - App Linking not working in Chrome
body: <p>So I'm looking to implement App Links in some new apps and I've read pretty thoroughly through the dev notes, setup a server, added the file with the correct json header and built a test app. The app deep linking introduced in Android M seems to be working if I send myself an email with the links attached, but when I do it on a sample page in chrome, it just reloads the page. I'm just hitting the root page on my web server. (<a href="https://www.EXAMPLE.com" rel="nofollow">https://www.EXAMPLE.com</a>). I initially had some cert issues with chrome on my tablet but I added the root certificate and it now comes up green</p>
  
  <p>I am using a Nexus 7 2013, freshly wiped and running Android M and Chrome, updated.</p>
  
  <p>I am serving a HTML file on my server (Like it would if I had a fall back page).</p>
  
  <p>Any idea if this is how I'm using the web page/fall back, or if I configured something wrong. It works beautiful in Gmail, no task selector, but not in chrome. </p>
  
  <p>I tried mixing up a few examples html looks like this and none worked.</p>
  
  <pre><code>&lt;a href="EXAMPLE://"&gt;Click HERE for schema&lt;/a&gt;
  
  &lt;a href="https://www.EXAMPLE.com/"&gt;Click HERE for url with slash&lt;/a&gt;
  
  &lt;a href="https://www.EXAMPLE.com"&gt;Click HERE for url, no slash&lt;/a&gt;
  
  &lt;a href="#" onclick="window.location('https://www.EXAMPLE.com/')"&gt;Trying with onclick javascript&lt;/a&gt;
  </code></pre>
  
  <p>My android manifest:</p>
  
  <pre><code>&lt;activity
          android:name=".deepActivity"
          android:label="@string/title_activity_deep" &gt;
          &lt;intent-filter android:autoVerify="true"&gt;
  
              &lt;action android:name="android.intent.action.VIEW" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
  
              &lt;data android:scheme="http" android:host="www.EXAMPLE.com" /&gt;
              &lt;data android:scheme="https" android:host="www.MYDOMAIN.com" /&gt;
  
              &lt;!-- note that the leading "/" is required for pathPrefix--&gt;
              &lt;!-- Accepts URIs that begin with "example://gizmos”--&gt;
  
          &lt;/intent-filter&gt;
  </code></pre>
  
  <p><a href="https://developer.android.com/training/app-links/index.html" rel="nofollow">https://developer.android.com/training/app-links/index.html</a></p>
  
  <p>edit:</p>
  
  <p>I have been testing the auto-verify with the following command:</p>
  
  <pre><code>adb shell dumpsys package d | grep DOMAIN -ab5
  </code></pre>
  
  <p>and I get the results:</p>
  
  <pre><code>230:  Package: com.DOMAIN.deeplinkingtest
  275:  Domains: www.DOMAIN.com
  308-  Status:  undefined
  </code></pre>
  
  <p>From the documentation </p>
  
  <blockquote>
    <p>Shows the current link-handling setting for this app. An app that has passed verification, and whose manifest contains android:autoVerify="true", shows a status of always. The hexadecimal number after this status is related to the Android system's record of the user’s app linkage preferences. This value does not indicate whether verification succeeded.</p>
  </blockquote>