Vending: Remove BROWSABLE category
This commit is contained in:
parent
246c86e134
commit
cf8f95a41e
1 changed files with 14 additions and 4 deletions
|
|
@ -3,7 +3,8 @@
|
|||
~ SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<manifest xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<permission
|
||||
android:name="com.android.vending.CHECK_LICENSE"
|
||||
|
|
@ -97,11 +98,20 @@
|
|||
|
||||
<data android:scheme="market" />
|
||||
</intent-filter>
|
||||
<intent-filter android:priority="-100">
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<!--
|
||||
Play Store website opens this via intent:// URI if BROWSABLE category is added.
|
||||
If the only other valid or the configured default retriever of the intent is the web browser itself,
|
||||
this would cause an infinite loop of redirects between the redirector and the web browser opening
|
||||
the Play Store website.
|
||||
|
||||
To prevent this, we remove the BROWSABLE category. This ensure best possible compatibility without running
|
||||
into the aforementioned issue.
|
||||
-->
|
||||
<intent-filter
|
||||
android:priority="-100"
|
||||
tools:ignore="AppLinkUrlError">
|
||||
<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" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue