My Android App Links feature was not working until I added the meta-data tag:
<meta-data
android:name="asset_statements"
android:resource="@string/asset_statements"/>
Which is a suggestion I read here and here. However that is not mentioned by Google official documentation.
So... is it really needed or am I doing something else wrong?
(when I mentioned App Links was not working, I should note that deep link works but Android still displays the "default app chooser dialog")
Update #1:
I'm testing on Android 8.1. I've uploaded the .well-known/assetlinks.json
file. Here's my activity handling deep links:
<activity
android:name=".LinkDispatcherActivity"
<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="http" />
<data android:scheme="https" />
<data android:host="@string/www_app_domain" />
</intent-filter>
</activity>