Problem with deeplinks on iOS


#1

I’m adding Deeplink plugin to my Ionic 2 project (https://ionicframework.com/docs/native/deeplinks/)

I’ve added it to the project with

$ ionic cordova plugin add ionic-plugin-deeplinks --variable URL_SCHEME=myapp --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=app.example.com --save
$ npm install --save @ionic-native/deeplinks

This correctly added the following to config.xml

<plugin name="ionic-plugin-deeplinks" spec="~1.0.14">
    <variable name="URL_SCHEME" value="myapp" />
    <variable name="DEEPLINK_SCHEME" value="https" />
    <variable name="DEEPLINK_HOST" value="app.example.com" />
</plugin>

I’ve obtained the updated iOS certificates (both dev and distribution) to support “Associated Domains” in the App ID on https://developer.apple.com.

I’ve added https://app.example.com/apple-app-site-association that looks like

{
	"applinks": {
		"apps": [],
		"details": [
			{
				"appID": "XXXXX.com.example",
				"paths": [ "*" ]
			}
		]
	}
}

I’m using Ionic Cloud Build to build apps https://apps.ionic.io/apps/

The Android links are working great.
But iOS links are not handled by the app and keep being opened by the browser.

I’m not sure where is the problem.
What can I do to fix it or at least how can I see what’s broken?

Thanks


#2

Hi,

any news on this?

I have the same problem.


#3

No update? Looks like I’m also having similar issue.