Firebase动态链接无法打开应用程序iOS [英] Firebase dynamic link not opening the app iOS

查看:1205
本文介绍了Firebase动态链接无法打开应用程序iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发&在我的设备上本地安装了一个iOS应用程序。



在info.plist中设置了自定义方案为 mydlink / p>

设置关联域名为weel: applinks:< myapp> .app.goo.gl



在firebase上创建了动态链接:

  https://< myapp> ;. app.goo.gl/?link=http://<mysite.com>/&ibi=<app捆绑ID>& ius = mydlink& ifl = https://itunes.apple.com/WebObjects/ MZStore.woa / wa / viewSoftware?id%3D< app store id>%26mt%3D8& pt =< app store id> 

打开或点击动态链接时,会在App Store应用程序中打开应用程序页面



我在这里缺少什么?

解决方案

如果你在iOS 9上,将使用通用链接。通用链接在许多情况下不起作用,如:


  • 如果您使用模拟器

  • 如果您尝试在设备上直接在Safari浏览器中打开链接(在浏览器的地址栏中输入该链接)



我花了很多时间试试这个,并且永远无法以可靠的方式让它在模拟器上工作。我最终做的是通过电子邮件将链接发送给我,并从收件箱中打开。然后每次都有效!


I have developed & installed an iOS app locally on my device.

And have set custom scheme in the info.plist as mydlink

Set associated domains as weel: applinks:<myapp>.app.goo.gl

Created dynamic link on firebase as:

https://<myapp>.app.goo.gl/?link=http://<mysite.com>/&ibi=<app bundle id>&ius=mydlink&ifl=https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id%3D<app store id>%26mt%3D8&pt=<app store id>

When I open or click on dynamic link, it opens app page in the "App Store" app and not opening app itself though its installed.

What am I missing here?

解决方案

If you are on iOS 9, universal links will be used. Universal links don't work in a lot of cases, like:

  • If you use a simulator
  • If you try to open the link directly in safari on a device (typing it into the address field in the browser)

I spent a lot of time trying this and could never get it to work on a simulator in a reliable way. What I end up doing is emailing the link to me and opening it from Inbox. Then it works every time!

这篇关于Firebase动态链接无法打开应用程序iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆