Ale*_*x29 9 deep-linking progressive web
我有一个Web应用程序,由于PWA标准,它可以作为独立应用程序安装在主屏幕中。
当用户忘记密码时,将向其发送一封电子邮件,其中包含用于重置密码的链接。
问题是:
我可以深链接到已安装的独立版本,而不是chrome浏览器中的Web应用程序吗?我想实现以下行为:
提前致谢!
干杯
有一个在JSON描述的意图过滤器的例子在这里。清单的相关部分是intent_filters
{
"manifest_package": "org.chromium.webapk.test",
"scope_url": "https://pwa.rocks/",
"intent_filters": {
"scope_url_scheme": "https",
"scope_url_host": "pwa.rocks",
"scope_url_path": "/"
},
"start_url": "https://pwa.rocks/",
"display_mode": "standalone",
"orientation": "portrait",
"theme_color": "2147483648L",
"background_color": "2147483648L",
"icon_urls_and_icon_murmur2_hashes": "http://www.pwa.rocks/icon1.png 0 http://www.pwa.rocks/icon2.png 0",
"web_manifest_url": "https://pwa.rocks/pwa.webmanifest",
"version_code": "1",
"version_name": "1.0",
"bound_webapk": {
"runtime_host": "org.chromium.chrome",
"runtime_host_application_name": "Chromium"
}
}
Run Code Online (Sandbox Code Playgroud)