简体   繁体   English

Firebase 控制台动态链接OFL参数

[英]Firebase Console Dynamic Link OFL Parameter

I need a dynamic link (short url) that:我需要一个动态链接(短网址):

on mobile:在移动:

  • when app is installed -> open app安装应用程序时->打开应用程序
  • when app is not installed -> open store当应用程序未安装时 -> 打开商店

on desktop:在桌面上:

  • open specific web url打开具体 web url

I managed to get it working for the mobile part.我设法让它在移动部分工作。 However, on desktop it also opens the deeplink for the app.但是,在桌面上它还会打开应用程序的深层链接。 The documentation states to use the OFL parameter for that. 文档说明为此使用 OFL 参数。 Now if I manually add this parameter to the long url everything works as expected but I need a short url. How can I add this parameter via Firebase Console directly?现在,如果我手动将此参数添加到长 url,一切都按预期工作,但我需要一个短 url。如何直接通过 Firebase 控制台添加此参数?

Cheers干杯

The 'ofl' feature is not yet available for Dynamic Links created via the Firebase console. 'ofl' 功能尚不适用于通过 Firebase 控制台创建的动态链接。 Currently, this is only possible with Manual URL construction dynamic link.目前,这仅适用于手动 URL 构建动态链接。 The idea is to add the "ofl" parameter to the url to make the FDL redirect another URL on the desktop, like displaying a full web page of the app content.想法是将“ofl”参数添加到 url,使 FDL 在桌面上重定向另一个 URL,就像显示应用程序内容的完整 web 页面一样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM