I need multiple hosts for app linking in my manifest file, but this doesn't work. If I add an other data tag with another host in the same intent filter.. the data tag that was working before doesn't work anymore. The same with multiple intent-filters. If I try to add another intent-filter for that other host, the first host (and the second host) doesn't work.
here you can see what I did:
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:host="www.host1.com"
android:pathPattern="/path/.*"
android:scheme="https" />
</intent-filter>
<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:host="www.host2.com"
android:pathPattern="/path/.*"
android:scheme="https" />
</intent-filter>
If I remove intent-filter with host2, host1 will work!
any ideas?