问题描述
我已经开发&在我的设备上本地安装了一个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上,将使用通用链接。通用链接在许多情况下不起作用,如:
我花了很多时间试试这个,并且永远无法以可靠的方式让它在模拟器上工作。我最终做的是通过电子邮件将链接发送给我,并从收件箱中打开。然后每次都有效!
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!