Firebase dynamic link not opening the app iOS

kalpeshdeo picture kalpeshdeo · Jun 9, 2016 · Viewed 38.4k times · Source

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?

Answer

Heinrisch picture Heinrisch · Jul 7, 2016

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!