use separate IntentFilters to make App Links work
The App Links thing is quite strict, all possible scheme/hosts must have a valid /.well-known/assetlinks.json file that is HTTP 200. These two URLs are not 200, so they will fail for App Links: * http://f-droid.org/.well-known/assetlinks.json * http://www.f-droid.org/.well-known/assetlinks.json
This commit is contained in:
parent
b1f0f43546
commit
36b51c506f
@ -335,7 +335,6 @@
|
|||||||
<category android:name="android.intent.category.DEFAULT"/>
|
<category android:name="android.intent.category.DEFAULT"/>
|
||||||
<category android:name="android.intent.category.BROWSABLE"/>
|
<category android:name="android.intent.category.BROWSABLE"/>
|
||||||
|
|
||||||
<data android:scheme="http"/>
|
|
||||||
<data android:scheme="https"/>
|
<data android:scheme="https"/>
|
||||||
<data android:host="f-droid.org"/>
|
<data android:host="f-droid.org"/>
|
||||||
<data android:host="www.f-droid.org"/>
|
<data android:host="www.f-droid.org"/>
|
||||||
@ -348,6 +347,24 @@
|
|||||||
<data android:pathPattern="/.*/packages/.*/"/>
|
<data android:pathPattern="/.*/packages/.*/"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
|
||||||
|
<intent-filter>
|
||||||
|
<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:host="f-droid.org"/>
|
||||||
|
<data android:host="www.f-droid.org"/>
|
||||||
|
<data android:host="staging.f-droid.org"/>
|
||||||
|
<data android:pathPrefix="/app/"/>
|
||||||
|
<data android:pathPrefix="/packages/"/>
|
||||||
|
<data android:pathPrefix="/repository/browse"/>
|
||||||
|
<!-- support localized URLs -->
|
||||||
|
<data android:pathPattern="/.*/packages/.*"/>
|
||||||
|
<data android:pathPattern="/.*/packages/.*/"/>
|
||||||
|
</intent-filter>
|
||||||
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.VIEW"/>
|
<action android:name="android.intent.action.VIEW"/>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user