gpt4 book ai didi

Android 深度链接不适用于 https

转载 作者:行者123 更新时间:2023-11-29 23:02:08 25 4
gpt4 key购买 nike

Android 深度链接不适用于 https.. 但它适用于 http 。

    <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:scheme="https" />
<data android:host="www.test.uz" />

</intent-filter>

最佳答案

在您的代码中,您分别为 schemehost 属性添加标签。您需要添加一次 标签并同时添加 schemehost 属性。在同一个标​​签中。

这是一种有效的方式

方案主机 属性。

<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"
android:host="www.test.uz" />

</intent-filter>

关于Android 深度链接不适用于 https,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56848142/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com