小编Lov*_*oid的帖子

使用旧版 Chrome 的设备无法从 Chrome 自定义标签页使用深层链接

我从我的应用程序启动 ChromeCustomTabs。chorme 自定义选项卡中的页面显示一个按钮。单击该按钮时会触发一个深层链接,就像这样myapp://show/screen?id=123。我对应的意图过滤器是这样的:

            <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="myapp"/>
                <data android:host="show"
                    android:path="/screen"/>
            </intent-filter>
Run Code Online (Sandbox Code Playgroud)

问题:当用户点击该按钮时,只有当 chrome 的版本是最新的或最新的 74 时,它才会启动我的应用程序而它不会在旧版本的 chrome 浏览器上触发我的应用程序,例如在 65. .

android deep-linking chrome-custom-tabs

3
推荐指数
1
解决办法
3060
查看次数

标签 统计

android ×1

chrome-custom-tabs ×1

deep-linking ×1