嗨,我在 firebase 中使用 firebase 动态链接到我的 React Native 项目。因此,我从控制台创建动态链接,它将用户重定向到 ios 和 android 应用程序。但目前,当从 Web 浏览器打开链接时,它会给出有关 ManyRedirection 的错误。我需要的是当用户从桌面浏览器打开链接时,用户需要重定向到网页。
My Deeplink - https://xxx.page.link/jobplacement?serviceId=13
对于 ios 和 android,我已经给出了要打开的应用程序,如果该应用程序不可用,则重定向到 Play 商店或 google play。
如何为桌面浏览器提供后备 URL?
您需要使用 ofl 来实现这一点。所以你的网址将是这样的 - https://custom.page.link/?link=http://custom.com/create-password/?id=123&apn=com.example.test&efr=1&ofl=http://custom.com/create-password /123
ofl 将重定向到您的浏览器。
查看文档 - https://firebase.google.com/docs/dynamic-links/create-manually#parameters
如果我使用 DynamicLinkInfo 请求正文会怎样?除了longDynamicLink之外,我在文档中没有找到它