首页 > 解决方案 > 资产链接域与主机

问题描述

我正在尝试在我的 android 应用程序中设置 applinks。在我的清单文件中,我有这样的东西:

            <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="myapp.example.com" />
            </intent-filter>

所以我的问题是应用程序将在哪里尝试下载assetlinks.json文件:

谢谢你的帮助

标签: androidflutterapplinks

解决方案


根据此 Google Guide,它将尝试从以下位置下载:

https://myapp.example.com/.well-known/assetlinks.json


推荐阅读