I want my app to open on http://www.example.com
and https://www.example.com
.
This works:
<data
android:host="www.example.com"
android:path="/"
android:scheme="http"/>
<data
android:host="www.example.com"
android:path="/"
android:scheme="https"/>
Is it possible to catch both with one entry? I tried:
<data
android:host="www.example.com"
android:path="/"
android:scheme="http*"/>
but this catches only the http link, not the https one.
So I know how I can handle bot variants, but want to use the most concise writing possible.
You can use seperate
<intent-filter>
for bothThis seems to do the trick for me: