title: App links intent filters in assetlinks.json not working on Android
body: <p>My app defines the intent filters to handle URL's from my site defined by</p>
  
  <pre><code>&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:host="www.host.com" android:scheme="http"/&gt;
  &lt;/intent-filter&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:host="www.host.com" android:scheme="https"/&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>The app correctly detects URL's of the correct host but queries the user whether to open them in the app or browser. I tried using the App links verification as specified here: <a href="https://developer.android.com/training/app-links/index.html" rel="noreferrer">https://developer.android.com/training/app-links/index.html</a></p>
  
  <p>As seen in my server logs, when installing the app, the device queries /well-known/assetlinks.json and it responds with a 200 status. Testing the digital assets file using the </p>
  
  <p><code>https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=https://&lt;domain1&gt;:&lt;port&gt;&amp;relation=delegate_permission/common.handle_all_urls</code></p>
  
  <p>API and it found no errors.</p>
  
  <p>The SHA256 in the assetlinks.json file was obtained using</p>
  
  <pre><code>keytool -list -v -keystore my-release-key.keystore 
  </code></pre>
  
  <p>the same .keystore of which the app was signed.</p>
  
  <p>Running <code>adb shell dumpsys package d</code> returns that the link verification status is "ask" meaning that verification failed. Why might verification be failing?</p>