firebase动态链接 - 单击不在iOS中工作时

发布于 01-19 20:17 字数 254 浏览 6 评论 0原文

我使用Firebase Dynamic链接打开移动应用程序(如果已经安装)或将用户重定向到PlayStore或App Store。

在iOS Mobile中,我将链接粘贴在注释 /消息应用程序中,然后单击链接时,它打开了Safari浏览器,并显示了预览页面。单击预览页面中的“打开”按钮后,它说“ Safari无法打开页面,因为地址无效”。

你能帮我吗?

注意:在同一iOS设备中,当我将默认浏览器设置为Chrome时,然后单击链接将正确打开应用程序。

Im using firebase dynamic link to open the mobile application (If already installed) or to redirect user to Playstore or app store.

In iOS mobile , I pasted the link in notes / messaging apps and while clicking the link it Opens the safari browser and it shows the Preview page. Upon clicking the "Open" button in preview page , it says "Safari cannot open the page because the address is invalid".

Can you please help me with this?

Note : In same iOS device , when I set the default browser to chrome and then clicking the Link opens the app correctly.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小镇女孩 2025-01-26 20:17:18

最后,我能够解决这个问题。
最初的步骤是在Firebase控制台中创建通用链接。
一旦创建了通用链接,我们就必须在XCode中进行以下更改:

  1. 启用相关域
  2. ,包括URL类型
  3. 必须验证您在Firebase Console中提供的团队ID。

一旦通用链接设置在XCode中完成,我们就可以进行构建和运行,并检查Universal Link的工作。

IE单击链接应打开应用程序(已安装了应用程序)。
而且它不应打开Safari浏览器。

如果单击链接打开Safari浏览器,则通用链接设置存在问题。

下面的教程非常有用:

https://youtu.be/klbjag6hvgg0

Finally I am able to resolve the issue.
The initial step is to create a universal link in Firebase console.
Once the universal link is created , we have to do following changes in XCode:

  1. Enable associated domains under capablities
  2. Include URL types
  3. Must verify your Team ID that you would have provided in firebase console.

Once the universal link setup is completed in Xcode, we can do build and run and check the working of Universal link.

i.e. clicking the link should open the app (provided app is already installed).
and it should not open the safari browser.

If clicking the link opens safari browser , then there is a problem with the Universal link setup.

The below tutorial is very useful:

https://youtu.be/KLBjAg6HvG0

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文