When an Android app declares an intent filter with autoVerify=“true” for a specific domain (eg mydomain.com), deep link work correctly for URLs like: https://mydomain.com
However, links containing the ‘www’ (eg https://www.mydomain.com) do not redirect to the app and instead open in the browser.
Reproduce steps:
- Declare an intent filter in AndroidManifest.xml:
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
<data android:host="mydomain.com" />
</intent-filter>
- Ensure the app is properly set up with digital asset links.
- Open a link like https://www.mydomain.com in Samsung internet browser.
Works in Chrome and other browsers