【问题标题】:android applinks doesn't work on every browser?android applinks 不适用于每个浏览器?
【发布时间】:2020-06-26 05:25:58
【问题描述】:

我尝试在特定网址上调用我的应用。为此,我在清单中使用了这个意图过滤器:

        <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="https"
                android:host="${hostName}"
                android:pathPrefix="/konfirmasi-email" />
        </intent-filter>

这适用于谷歌浏览器和三星互联网,但不适用于小米的默认浏览器

【问题讨论】:

  • 我认为这是您应该在 Android 设置中查找的一些晦涩且特定于供应商的设置。

标签: android android-intent intentfilter applinks


【解决方案1】:

我认为问题出在那个浏览器上……可能是那个浏览器不允许某些链接从浏览器中出来……

你试过http方案吗?

&lt;data android:scheme="http" android:host="${hostName}" android:pathPrefix="/konfirmasi-email" /&gt;

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-27
    • 1970-01-01
    • 2022-01-13
    • 2012-01-16
    • 2018-12-06
    • 1970-01-01
    相关资源
    最近更新 更多