firebase动态链接 - 单击不在iOS中工作时
我使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最后,我能够解决这个问题。
最初的步骤是在Firebase控制台中创建通用链接。
一旦创建了通用链接,我们就必须在XCode中进行以下更改:
一旦通用链接设置在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:
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