android - 资产链接域与主机
问题描述
我正在尝试在我的 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
文件:
- 一个 -
https://myapp.example.com/.well-know/assetlinks.json
- 乙 -
https://example.com/.well-know/assetlinks.json
- C -
https://www.example.com/.well-know/assetlinks.json
谢谢你的帮助
解决方案
根据此 Google Guide,它将尝试从以下位置下载:
https://myapp.example.com/.well-known/assetlinks.json
推荐阅读
- node.js - node.js + Multer 中未定义请求文件
- algorithm - 机器学习和实际预测
- wordpress - Wordpress/Woocommerce - 空白的“新帖子”管理页面,无法创建帖子
- javascript - 将 AuthGuard 服务添加到 Angular 组件时出错
- artifactory - 从 5.6 升级到 6.6.5 后的 JFrog Artifactory 在 mvn build 期间未对内部用户进行身份验证
- postgresql - Gount / Group By / date_trunc() 的 Postgres 问题
- here-api - 是否可以在 HERE 地理编码器自动完成搜索中包含企业?
- python - 如何根据用户通过 argparse 模块指定的参数分割一行?
- google-bigquery - 如何取消嵌套存储为字符串的 bigquery 字段?
- python - 如何为 Pandas Dataframe 非规范化 YAML?