【发布时间】:2018-08-06 16:40:05
【问题描述】:
我目前正在开发一个 android 即时应用程序。我使用 Firebase 托管来验证应用链接。
这适用于 https 链接:https://xyz.firebaseapp.com/.well-known/assetlinks.json。
但是当我想发布免安装应用时,谷歌强迫我也支持 http 路由:https://xyz.firebaseapp.com/.well-known/assetlinks.json.
http 的问题是,firebase 托管会自动将 http 请求重新路由到 https,并且应用程序链接不支持资产链接 url 的重新路由。
是否有可能禁用 https 重新路由并使其与 firebase 托管一起使用? 您知道 firebase 托管的任何替代方案吗?
【问题讨论】:
-
Firebase 托管绝对需要 HTTPS。
-
你知道任何替代 firebase 托管的方法,我可以在指定路径下托管assetlinks.json 文件吗?
-
@DougStevenson 听起来像是一个答案。 :-) Oliver:技术建议是题外话,但我认为快速谷歌搜索会给出许多有效的结果。
标签: android firebase firebase-hosting android-instant-apps applinks